Posted by Bob Bedford on 03/02/06 18:20
"samudas" <samudasu@hotmail.com> a ιcrit dans le message de news:
1141291349.693562.72520@e56g2000cwe.googlegroups.com...
> Micha;
> That's true and i totally agree with you but in this case it doesn't
> seem the app is broken. I guess it's broken in the sense that the
> programmer isn't checking if a query result is valid. Just telling them
> what they want to know. If it were my script i'd echo something useful
> when a query result failed.
Thanks for your answers.
I'm actually "answering" a remote script with XML code. id there is anything
else than xml datas (case of a mysql error or anything else), then the
script fails to create a good XML output and the answer is wrong.
I've to manage if the mysql server fails (I do check and return an error in
the XML message) instead of a message on the screen.
Thanks for your answer !
Bob
Navigation:
[Reply to this message]
|