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

Lars Mueller <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.