Currently when I have a php error I get no error message, page exec just halts, I was wondering what is the trick to get it to spit out the errors to the browser ?
also
Is there a PHP equivalent 'try...catch' or 'on error resume ...' ?
Is there a smart way, to if ever there was an error to occur on a web site it would log it in a DB or file ?
Thanks for the time.
PHP Show Errors (win2k, IIS5) and more..
Moderator: General Moderators
Recommended: http://se.php.net/manual/en/ref.errorfunc.php
Changing the error_reporting will (if wanted) produce the same results as VB(A)'s on error resume next, but as McGruff mentioned; You shouldn't.
Take the opportunity to learn from the error...
Changing the error_reporting will (if wanted) produce the same results as VB(A)'s on error resume next, but as McGruff mentioned; You shouldn't.
Take the opportunity to learn from the error...