Re: just wanna know
| From: | Quentin Bennett | Date: | Sat, 02 Mar 2002 01:50:33 +0000 |
| Subject: | Re: just wanna know | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86874@lists.php.net to get a copy of this message | ||
Unlike echo, print can accept only one argument
Unlike echo, print returns a value, which represents whether the print
statement suceeded.
Both are language constructs, so () are optional. Using () with echo limits
you to one argument.
All courtesy PHP 4 Bible.
Quentin Bennett
"Eoghan" <eoghan@cinehub.com> wrote in message
news:NEBBIJOEKLJOKAJPBOOHAEIPCEAA.eoghan@cinehub.com...
> hi
>
> whats the difference between
> print and echo ?
>
> thanks