What is the easiest way to do a search of a MySql database, using PHP, where only one search box is used, but the user of the search box might enter more than one word? The result should ideally be first word OR second word.
I imagine you probaly want to split the string where the space occurs. I'm not quite sure how to do this though you could try using the ereg function. Sorry I'm not much help.