note 19674 added to function.eval
| From: | marcus at chastisement dot com | Date: | Thu, 07 Mar 2002 08:55:35 +0000 |
| Subject: | note 19674 added to function.eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27461@lists.php.net to get a copy of this message | ||
eval() can do this
$content = "Hi $name, how are you?";
But how should I do if I want to do this:
$content = "Hi <? echo $name; ?>, how are you today?";
.. and print it ?
--
http://www.php.net/manual/en/function.eval.php
http://master.php.net/manage/user-notes.php?action=edit+19674
http://master.php.net/manage/user-notes.php?action=delete+19674
http://master.php.net/manage/user-notes.php?action=reject+19674