>
> I know how to make an error message when the connection is lost with the
> database, with the @ and the OR DIE in the connection with the database.
>
>
> Is there also a way to display a custom error message when this error is
> displaid?
i wrote a more or less simple class to wrap PHP's errorhandling.
http://phpclasses.upperdesign.com/browse.html/package/345
this version needs to be updated. Tidied up version can be found:
http://users.freestart.hu/pgerzson/PHP/ErrorHandler/
>
> "Warning: Supplied argument is not a valid MySQL result resource in
> /opt/guide/www.domain.nl/HTML/inc/menu.php on line 34"
>
> Thanks,
>
> Sjoerd
>
> ________________________________________
> Sjoerd van Oosten
> Digitaal vormgever [EMAIL PROTECTED]
> Datamex E-sites B.V.
> http://www.esites.nl
> Minervum 7368 Telefoon: (076) 5 730 730
> 4817 ZH BREDA Telefax: (076) 5 877 757
> _______________________________________
>
>
> --
> 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]
>