> 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 use in the future.
For the FLD_Path comparison, you are looking for something that
specifically STARTS with a space. I'd bet this is why the script
is getting 0 rows back - probably none of your FLD_Path's start
with a space.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]