RE: [PHP] echo vs print
| From: | Jeff Oien | Date: | Fri, 09 Feb 2001 04:34:40 +0000 |
| Subject: | RE: [PHP] echo vs print | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38895@lists.php.net to get a copy of this message | ||
From recent posts:
http://www.zend.com/zend/tut/using-strings.php
also see the doc for print in the PHP manual:
http://www.php.net/manual/en/function.print.php
Jeff Oien
> I have "Profession PHP Programming" and I see that echo() and print()
> are used alomst interchangeably. When should each one be used?
>
> Also, I see "<?php" and "<?" used. Is there a preference?
>
> And how about "};" versus "}" to end a block? I see both.
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> todd@aristesoftware.com