Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\orderform\results.php on line 24
mysql_select_db("bookorama");
$query = "select * from bookorama where ".$searchtype." like '%".$searchterm."%'";
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
help please the variable are correct from the form as well