i have a testing server that this code works on. once i upload to my server i receive this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
the code for this is
[php]
$qry=mysql_query(“select image,image_type from fampics where md5(image_id)=’$_GET[imgid]’”);
while($img=mysql_fetch_array($qry)){
[/php]
any ideas?
Admin Edit: Added [PHP] Tags for readability. Please refer to http://phphelp.com/guidelines.php for posting guidelines.