Re: Error: Not a proper resource --- with code this time!

From: Date: Sun, 16 Jan 2011 20:57:47 +0000
Subject: Re: Error: Not a proper resource --- with code this time!
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-30467@lists.php.net to get a copy of this message
Am 15.01.2011 17:35, schrieb Bill Mudry:
$uvquery = "SELECT uv_filename FROM 'uvphotos' WHERE species_name= $speciesname";
That should probably be ... FROM uvphotos WHERE species_name = '$speciesname'"; or better: ...WHERE species_name = '".mysql_real_escape($speciesname)."'";

« previous php.windows (#30467) next »