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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux