note 26065 added to function.echo
| From: | mu at rack1 dot php dot net | Date: | Wed, 16 Oct 2002 18:32:51 +0000 |
| Subject: | note 26065 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38177@lists.php.net to get a copy of this message | ||
An alternative way for echo is to just write = . I don't know why and it has lots of
limitations, but it's nice to have an even shorter alternative. As an example, this HTML
listing will print out the contents of $PHP_SELF:
<HTML>
<HEAD><TITLE>Short Test</TITLE></HEAD>
<BODY><?=$PHP_SELF?></BODY>
</HTML>
--
http://www.php.net/manual/en/function.echo.php
http://master.php.net/manage/user-notes.php?action=edit+26065
http://master.php.net/manage/user-notes.php?action=delete+26065
http://master.php.net/manage/user-notes.php?action=reject+26065