Image

Imagemansond wrote in Imagephp

UPDATE - I took a LOT closer look and determined that I didn't need this query at all. So after removing it entirely all is well. Thank you though for all who commented and showed me how to setup my query strings a lot better. Thanks again!

Okay, I'm really new to PHP and I'm learning a lot when I play with it, i know my mother warned me i would go blind, but i'm using a script i downloaded from www.hotscripts.com and i'm not very good at debugging errors.. can someone give me a hand at what i should look at with this error?? thanks in advance



Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/dynamix/public_html/dev/gamesite/vgportal/games.php on line 57





  $resultID2 = mysql_query("SELECT * FROM `reviews` WHERE `game`='$name'", $dbh);

  while ($row = mysql_fetch_array($resultID2))