In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Christian Dechery) wrote:
> <html>
> ... header here ...
> <?php
> lots of code
> ?>
> ... footer here ...
> </html>
>
> but sometimes I want something like this:
> <?php
> session_start(); // for instance
> code code code
> if(something)
> print error message and terminate script;
> ?>
> <html>
> sadasdsa
> </html>
http://php.net/manual/en/ref.outcontrol.php
--
CC
--
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]