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)."'"; -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php