You are here: Re: avoid error output « PHP Programming Language « IT news, forums, messages
Re: avoid error output

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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация