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
$qry=mysql_query(“select image,image_type from fampics where md5(image_id)=’$_GET[imgid]’”);
Admin Edit: Added [PHP] Tags for readability. Please refer to http://phphelp.com/guidelines.php for posting guidelines.