RE: [PHP] trouble reading a database (fwd)

2001-04-23 Thread johndmiller
Thanks for the pointer about ' vs ". I have changed my code to used these. The code is a lot cleaner. I am still getting a not found error. Below is the new "cleaner" messages that I display. One point that may be important, FLD_Name and FLD_Path are the primary key. Couple of questions, can

RE: [PHP] trouble reading a database (fwd)

2001-04-23 Thread Jason Murray
> Read_sql SELECT * FROM TBL_Picture WHERE FLD_FileName = > "SailBoat.jpg"and FLD_Path =" /var/www/html/slidecollection/WinterCarnival" This is a little hideous. For one thing, you should probably use ' and not ". It may not make a difference to MySQL, but it does to other databases you may us

[PHP] trouble reading a database (fwd)

2001-04-23 Thread johndmiller
I have posted the following message a couple of times on the php-db list and have not gotten a response. I am hoping someone here is willing to help. Thank you John Below is the output and code for my problem. When the database gets read, it returns 0 rows. When it writes, it says it can't b