Re: code quest - ECHO?!?
| From: | David Robley | Date: | Sun, 12 Dec 2010 11:14:42 +0000 |
| Subject: | Re: code quest - ECHO?!? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309971@lists.php.net to get a copy of this message | ||
Kirk Bailey wrote:
> Ok, so what is echo, and how is it different from print.
>
> The code in code quest used echo. I have a copy of learning php 5.0 from
> O'Reilly, and noplace does it mention echo. Why? What's the difference?
> IS there a difference? Is there an advantage to either? Please clarify
> for this newbie.
>
The documentation says it all better than I can:
http://php.net/manual/en/function.echo.php
http://php.net/manual/en/function.print.php
Cheers
--
David Robley
OPERATOR! Trace this call and tell me where I am.
Today is Sweetmorn, the 54th day of The Aftermath in the YOLD 3176.