Onbekend |
|
<?php
$query = mysql_query("SELECT naam FROM products WHERE name LIKE '%".$_GET['sid']."%'");
while($fetch = mysql_fetch_array($query))
{
echo $fetch['name'];
}
?>
<?php $query = mysql_query("SELECT naam FROM products WHERE name LIKE '%".$_GET['sid']."%'"); { } ?>
iemand een idee wat fout is? Ik krijg de melding:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /LINK/site/search.php on line 108
|