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 ?
Search found 4 matches
- Sat Sep 06, 2003 10:39 pm
- Forum: PHP - Code
- Topic: On Error ??
- Replies: 2
- Views: 385
- Fri Aug 29, 2003 11:40 pm
- Forum: PHP - Code
- Topic: date parse
- Replies: 7
- Views: 2335
- Fri Aug 29, 2003 6:22 pm
- Forum: PHP - Code
- Topic: date parse
- Replies: 7
- Views: 2335
date parse
Code: Select all
<?php
$paydate = "18:30:30 Jan 1, 2000 PST";
$dt = date('H:i:s M j, Y T', $paydate);
print date('M-j-Y H:i:s T', $dt);
?>'Dec-31-1969 19:00:19 Eastern Standard Time'
anyone know why or how I can fix this ?
- Fri Aug 29, 2003 1:55 pm
- Forum: PHP - Code
- Topic: PHP Show Errors (win2k, IIS5) and more..
- Replies: 4
- Views: 1201
PHP Show Errors (win2k, IIS5) and more..
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 ...