[thelist] php/MySql Help Please - more
Warden, Matt
mwarden at mattwarden.com
Tue Oct 2 21:14:47 CDT 2001
On Oct 2, Ron Dorman had something to say about [thelist] php/MySql Help Please
>We have php-4.0.4pl1-9 installed via rpm, mysql-3.23.36-1 installed via
>rpm on RedHat 7.1. Coding forms with php, db connect works fine.
>However, bad sql statements in the php code do not get mysql errors
>back. Debugging the code is painfull this way. Can anyone shed some
>light on what configs I should look at to correct this and get "full"
>communications between the two.
Just wanted to add a few things that might be key (though I dunno, I'm
just a codemonkey):
1. MySQL generates error messages fine through the command-line tool and
also through other scripting interfaces (or whatever you wanna call that)
2. PHP generates its errors fine. Syntax errors and all other
errors/warnings that don't deal with the database show up fine.
So, someone like me would reason that there's some issue with the
communication between mysql and php.
hth,
--
mattwarden
mattwarden.com
More information about the thelist
mailing list