Error: Not a proper resource

Error: Not a proper resource

am 15.01.2011 17:29:11 von Bill Mudry

Thanks to help from the forum, I am a step closer to being able to
display a whole bunch of UV fluorescent photos (of wood) but now I
have come up with an "not a proper resource" error after the SELECT
statement in trying to go the next step with a mysql_query statement.

I am largely sure that it is some error in my SELECT statement and
most likely an error in punctuation. Whatever it is, I am looking forward
to getting past this blockade. I have to be getting close to having the
photos showing. An image does show nicely if I temporarily hard code
the path and image file name.

I have tested and found that so far, there are zero records showing.
There are various commented out lines you will likely wish to just ignore.
They have been efforts to try to figure out what was wrong.

The choice of which wood (which botanical name) becomes current is a
user choice on another page. That is why I turned to using SESSION
statements to transfer the name. Only about 10 to 15% of woods I have
studied glow under UV. Later I will add statements so the UV button
shows only if there is a photo stored.

Much thanks. Once I get the full path showing from the database for
each photo, I should be close to a successful finish.

Bill Mudry
Mississauga, Ontario


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php