I'm trying to do a form query which searches my database. However I have always the folowing problem.
Warning: Supplied argument is not a valid MySQL result resource in /home/sites/home/web/result.php on line 16
No Record Found
Could somebody check the lines and tell me what is wrong? I use Mysql/php4.
$query = mysql_query(\"SELECT * FROM $usertable WHERE $metode LIKE \'%$search%\' LIMIT 0, 30 \");
while ($row = mysql_fetch_array($query))
thanks for your help
Dan