variales within define constants
| From: | Dan Rossi | Date: | Sat, 22 Mar 2003 07:09:27 +0000 |
| Subject: | variales within define constants | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-140675@lists.php.net to get a copy of this message | ||
hi guys i'm sure i've done this before but is it possible ?
i would like it to show up like this
define('CONSTANT','Hello $var');
$var = "Dan";
echo CONSTANT