Sup all,
How would I take a string (from an HTML form) like i+am+searching+for+stuff and parse it at the +'s while removing them, then creating a variable for each string left...
so
$var1=i
$var2=am
$var3=searching
$var4=for
$var5=stuff
Now the whole reason I am doing this is so on a MySQL query I can have "...WHERE title=$var1 AND title=$var2..." so the query finds all fields that contain all of the words in any order. Maybe there is something easier to do than what I am trying above.
Thanks for help.