I've got a search page and whatever the user puts in is subsequently built into a SQL statement in the LIKE clause. So if someone wants to search for "peter piper" my SQL looks like
this is great however some of the entries are 'piper, peter' and the statement doesn't seem to bring these back. Is there a way to do this easily?
Code:
LIKE '%peter%%piper%'