Re: Big difference?
| From: | Schill, Johannes | Date: | Wed, 25 Jul 2001 21:28:56 +0000 |
| Subject: | Re: Big difference? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59626@lists.php.net to get a copy of this message | ||
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" <dbzno1fan@hotmail.com>
To: <php-general@lists.php.net>
Sent: Thursday, July 26, 2001 7:15 AM
Subject: [PHP] Big difference?
What is the difference between using
<?php
print "blah blah"
?>
and
<?php
echo "blah blah"
?>
-legokiller666-
http://www.StupeedStudios.f2s.com
New address.... new site
ICQ: 115852509
MSN: dbzno1fan@hotmail.com
AIM: legokiller666