RE: [PHP] Die
| From: | Jon Haworth | Date: | Tue, 11 Dec 2001 15:58:08 +0000 |
| Subject: | RE: [PHP] Die | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77303@lists.php.net to get a copy of this message | ||
> Hi,
>
> If I use die or exit() it break execution of php script but also
> browswer stop parsing html code. How to avoid this?
>
Use proper error handling instead of die()?
Let's face it, die() is for when your script needs to, well, die....
Cheers
Jon