Menu
ok i want this statement that only display data if the search criteria match
[code=php]
}
$query = “SELECT * FROM `business_info` WHERE `make`=’make’ AND `type`=’type’ AND `Categories` LIKE ‘%”.$Categories.”%'”;
$result = mysql_query($query) or die (mysql_error());
$num_result = mysql_num_rows($result);
echo “<table>”;
if($num_result <= 0){
echo(“No Results found.”);
exit;
}
this is my display