phpnewbie1989 Posted October 4, 2006 Share Posted October 4, 2006 This may be easy or not, but im wondering to how to make a search engine that will find results for one keyword and another keyword in PHP. I want a person to be able to enter a webpage and fill out a form that asks for a keyword and a second keyword, then it will search a SQL database and come up with the results. How would I program this? Quote Link to comment Share on other sites More sharing options...
tleisher Posted October 4, 2006 Share Posted October 4, 2006 mysql_query("SELECT * FROM `table` LIKE '%keyword%' OR LIKE '%keyword2%'") 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.