RE: [PHP] variales within define constants

From: Date: Sat, 22 Mar 2003 12:44:50 +0000
Subject: RE: [PHP] variales within define constants
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140679@lists.php.net to get a copy of this message
?? why would i not try it before posting heh :O -----Original Message----- From: Daniel Diehl [mailto:daniel@mediaworker.net] Sent: Sunday, March 23, 2003 12:23 AM To: 'Dan Rossi'; 'Php-General' Subject: RE: [PHP] variales within define constants 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#140679) next »