[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/aaronkor/public_html/beastpage.php on line 4
The error in question is on an included php file and as I said only appears until I use the search feature on the page. Below is a bit of the code where the error is happening
$query = "SELECT count(*) as count FROM stats WHERE ".$_GET['mode']." LIKE '%$searchstring%'"; $result = mysql_query($query); $row = mysql_fetch_array($result); $numrows = $row['count'];
Any help would be appreciated.