Google
  Web www.spinics.net

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



[PHP Home]     [PHP Users]     [PHP Install]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [Rice Cooker]     [Home]     [Yosemite News]     [Yosemite Photos]     [PHP Books]

Powered by Linux