RE: [PHP] variales within define constants

From: Date: Sat, 22 Mar 2003 13:22:51 +0000
Subject: RE: [PHP] variales within define constants
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140677@lists.php.net to get a copy of this message
Just try it :) > -----Original Message----- > From: Dan Rossi [mailto:daniel@electroteque.org] > Sent: Samstag, 22. März 2003 08:09 > To: Php-General > Subject: [PHP] variales within define constants > > > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#140677) next »