RE: [PHP] Echo and Print
| From: | SED | Date: | Fri, 26 Jan 2001 16:48:19 +0000 |
| Subject: | RE: [PHP] Echo and Print | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36792@lists.php.net to get a copy of this message | ||
Hi, I cut & paste this from an earlier e-mail from this list, hope it helps:
----------------------------------------------------------------------------
-
The print() function returns a boolean indicating the status of the call. If
the write was successful, print() returns 1. If not, it returns 0. This can
be used to detect when the client has closed the connection, and appropriate
measures taken. The builtin echo does not provide this same service.
This may be handy for you, though there's probably a lot more to it.
HTH
Jon
----------------------------------------------------------------------------
-
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
------------------------------------------
Phone: (+354) 4615501
Mobile: (+354) 8960376
Fax: (+354) 4615503
E-mail: sed@sed.is
Homepage: www.sed.is <- New Homepage!
------------------------------------------
-----Original Message-----
From: php4@mailbr.com.br [mailto:php4@mailbr.com.br]
Sent: 26. janúar 2001 11:37
To: php-general@lists.php.net
Subject: [PHP] Echo and Print
I know it is a kind of stupid question but I was trying to figure out
the difference between "Echo" and "Print" and I didn't find it...Could
anybody explain that to me??
Thank you
Felipe Lopes
MailBR - O e-mail do Brasil -- http://www.mailbr.com.br
Faça já o seu. É gratuito!!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net