RE: [PHP] constants inside of a string
| From: | Moritz Petersen | Date: | Wed, 10 Jan 2001 20:18:17 +0000 |
| Subject: | RE: [PHP] constants inside of a string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33763@lists.php.net to get a copy of this message | ||
> how do you use defines inside of a string...
>
> e.g.
>
> define(MAX,2);
> print "the max is MAX";
print "the max is " . MAX;