Re: Alternative to die()????
| From: | Curt Zirzow | Date: | Thu, 16 Oct 2003 21:36:55 +0000 |
| Subject: | Re: Alternative to die()???? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166357@lists.php.net to get a copy of this message | ||
* Thus wrote Chris Shiflett (shiflett@php.net):
> --- Scott Fletcher <scott@abcoa.com> wrote:
> > I am wondering if there is an better alternative to the die()
> > because it prevent the HTML codes from being send to the browser,
> > including some php echo codes with HTML in it.
>
> Please explain what you're wanting to do. This question makes as much sense as
> asking for an alternative to echo, because echo sends output to the browser.
btw, the answer to that is print()
http://php.net/print
:)
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/