RE: [PHP] regarding <?php ?> tags
| From: | PHP4 Emailer | Date: | Fri, 13 Jun 2003 12:39:19 +0000 |
| Subject: | RE: [PHP] regarding <?php ?> tags | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151351@lists.php.net to get a copy of this message | ||
My understanding of this (am still a newbie though) is that the
<?=$variable?> is a short tag that assignes the $variable directly to a
"print/echo" command. You can use the other way by just adding <?php print
$variable; ?>
Hope this helps.
-----Original Message-----
From: Ulrik NIelsen [mailto:ulrik@lazy.dk]
Sent: Friday, June 13, 2003 7:25 AM
To: php-general@lists.php.net
Subject: [PHP] regarding <?php ?> tags
Hi NG,
Does any og you know why it's not possible to use the syntax:
<?php=$something?>
when you can use this:
<?=$something?>
it would be a nice feature when mixing xml and php ...
--
>> ulrik - ulrik(@)lazy.dk
excuse of the day : Domain controller not responding
from bofh : http://www.cs.wisc.edu/~ballard/bofh/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php