RE: [PHP] variales within define constants

2003-03-22 Thread Dan Rossi
able to go Hello $username or Hello $this->username for example , is there any way to do this ? -Original Message- From: Dan Rossi [mailto:[EMAIL PROTECTED] Sent: Sunday, March 23, 2003 9:09 AM To: Jim Lucas; Daniel Diehl; 'Php-General' Subject: RE: [PHP] variales within def

RE: [PHP] variales within define constants

2003-03-22 Thread Dan Rossi
unday, March 23, 2003 3:43 AM To: Dan Rossi; Daniel Diehl; 'Php-General' Subject: Re: [PHP] variales within define constants yes, you can do this, but you have the order wrong. you must set the variable before you use it. and you must have double quotes around the variable in the define

Re: [PHP] variales within define constants

2003-03-22 Thread Jim Lucas
"'Php-General'" <[EMAIL PROTECTED]> Sent: Saturday, March 22, 2003 4:44 AM Subject: RE: [PHP] variales within define constants > ?? why would i not try it before posting heh :O > > -Original Message- > From: Daniel Diehl [mailto:[EMAIL PROTECTED] &

RE: [PHP] variales within define constants

2003-03-22 Thread Dan Rossi
?? why would i not try it before posting heh :O -Original Message- From: Daniel Diehl [mailto:[EMAIL PROTECTED] Sent: Sunday, March 23, 2003 12:23 AM To: 'Dan Rossi'; 'Php-General' Subject: RE: [PHP] variales within define constants Just try it :) > -Origi

RE: [PHP] variales within define constants

2003-03-22 Thread Daniel Diehl
Just try it :) > -Original Message- > From: Dan Rossi [mailto:[EMAIL PROTECTED] > 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

[PHP] variales within define constants

2003-03-22 Thread Dan Rossi
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