query with two conditions
Posted: Wed Jan 04, 2012 6:18 pm
Code: Select all
$query="select * from ldata where $term_s LIKE '%$term%'";i want to search based on 2 conditions
eg
Code: Select all
$query="select * from ldata where $term_s LIKE '%$term%' AND WHERE entity='$company'";