[thelist] php/MySql Help Please
Warden, Matt
mwarden at mattwarden.com
Tue Oct 2 21:47:54 CDT 2001
I wish that was the case as well...
though:
1. when i try to do something with the result, i get an error saying it's
not a valid resource
2. when i copy and paste the sql output into the commandline tool, i get
syntax errors, etc.
in fact, #2 is how i've been debugging, but it's quite
tedious... especially since i have to check the db to even realize that
there IS an errror, and then paste in each sql statement to see where the
error is.
--
mattwarden
mattwarden.com
On Oct 3, Michael Pemberton had something to say about Re: [thelist]...
>I think this is because mysql is returning a valid, although empty, recordset
>regardless of errors. This would mean that php doesn't know that an error has
>occured.
>
>"Warden, Matt" wrote:
>
>> On Oct 2, Jay Greenspan had something to say about Re: [thelist] php/MySql...
>>
>> >mysql_query($sql_string) or
>> > die(mysql_error());
>>
>> that doesn't work either, i'm afraid.
>>
>> in fact, die() isn't even called.
>>
>> no matter what i pass to die(), it doesn't happen.
>>
>> i'm thinking more towards a config issue...
More information about the thelist
mailing list