Re: Error: Not a proper resource --- with code this time!
| From: | Lars Mueller | 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 = "SELECTThat should probably be ... FROMuv_filenameFROM 'uvphotos' WHEREspecies_name= $speciesname";
uvphotos WHERE species_name = '$speciesname'";
or better:
...WHERE species_name = '".mysql_real_escape($speciesname)."'";