Php/ MySql 'Advanced Search' Page
问题 I'm working on an 'advanced search' page on a site where you would enter a keyword such as 'I like apples' and it can search the database using the following options: Find : With all the words, With the exact phrase , With at least one of the words, Without the words I can take care of the 'Exact phrase' by: SELECT * FROM myTable WHERE field='$keyword'; 'At least one of the words' by: SELECT * FROM myTable WHERE field LIKE '%$keyword%';//Let me know if this is the wrong approach But its the