Database search problem

wxdqz

New Member
Hi,
can anyone tell what is wrong in the following query:
"SELECT * FROM anytable where products or keywords like '%$query%' and status='1' order by company asc"

This deos not work when I try to search 2 columns, "products" and "keywords" simultaneously,

thanks
 
Back
Top