gt; - Original Message -
> From: "Schill, Johannes" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 25, 2001 2:28 PM
> Subject: Re: [PHP] Big difference?
>
> > Hello Kyle,
> >
> > The difference between echo
IL PROTECTED]>
Sent: Wednesday, July 25, 2001 2:28 PM
Subject: Re: [PHP] Big difference?
> Hello Kyle,
>
> The difference between echo and print is that print returns a boolean
value,
> so you can check if "blah blah" was successfully printed.
>
> more info about thi
Henrik Hansen wrote:
> > The difference between echo and print is that print returns a
> > boolean value, so you can check if "blah blah" was successfully
> > printed.
>
> hmm isen't it always succesfull printed or did I miss something?
IIRC print will return false if the connection is aborted
Not if there are syntax errors like misplaced quotes (", ').
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Henrik Hansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 3:54 PM
Subject: Re: [PHP] Big difference?
[EMAIL PROTECTED] (Johannes Schill) wrote:
> Hello Kyle,
>
> The difference between echo and print is that print returns a boolean value,
> so you can check if "blah blah" was successfully printed.
hmm isen't it always succesfull printed or did I miss something?
--
Henrik Hansen
--
PHP
Hello Kyle,
The difference between echo and print is that print returns a boolean value,
so you can check if "blah blah" was successfully printed.
more info about this:
www.php.net/print
www.php.net/echo
Best regards,
Johannes Schill
- Original Message -
From: "Kyle Smith" <[EMAIL PROT
6 matches
Mail list logo