Jarel101 Posted December 3, 2011 Report Share Posted December 3, 2011 I'm creating a mysql keyword search on my website and I know how to search a single mysql table, my problem is I need to search 15 different tables simultaneously, they also all have the same column names. I was told I have to use JOINS or UNION JOIN but i've never used them before. How is this done? MY SQL SELECT: SELECT * FROM table1 WHERE keyword LIKE %colname% OR id LIKE %colname% Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.