Thread: help,i'm lost
View Single Post
Old 09-07-2005, 05:40 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
In the script, after you clean/slash the form variables, edit the query so it has something like the following in it:
Code:
SELECT var1,var2,var3 FROM table WHERE var1 LIKE '%$var1%' OR var2 LIKE '%$var2%' OR var3 LIKE '%$var3%'
Then in the mysql_fetch_array part of the code, edit it for the new variables. There are some examples here.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote