Page 1 of 1

On Error ??

Posted: Sat Sep 06, 2003 10:39 pm
by ginoitalo
If a Line of PHP code crashes, is there a way to tell the parser to keep processing the rest of the page rather than stopping page execution?

ie: VB's on error resume next OR Java's try...catch ?

Posted: Sat Sep 06, 2003 11:59 pm
by Stoker

Posted: Sun Sep 07, 2003 3:08 am
by JAM
As Stoker said, but please have in mind that its generally a very bad idea to ignore errors.
You have the same question (and answers) in this thread.