Re: [PHP] constants inside of a string

2001-01-10 Thread jeremy brand
-- Quoted from Yahoo! homepage, http://www.yahoo.com On Wed, 10 Jan 2001, jeff saenz wrote: > Date: Wed, 10 Jan 2001 12:21:01 -0800 > From: jeff saenz <[EMAIL PROTECTED]> > To: Joe Stump <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] constants inside of

Re: [PHP] constants inside of a string

2001-01-10 Thread jeremy brand
> define(MAX,2); > print "the max is MAX"; > > this obv does not work print "the max is " . MAX; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMA

Re: [PHP] constants inside of a string

2001-01-10 Thread Toby Butzon
ge - From: "Moritz Petersen" <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 3:18 PM Subject: RE: [PHP] constants inside of a string -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] constants inside of a string

2001-01-10 Thread Joe Stump
I'm not sure about that one - I think most variables work. No better way to find out than to try it ;o) --Joe On Wed, Jan 10, 2001 at 12:21:01PM -0800, jeff saenz wrote: > what about inside of a here doc > > print << this is the MAX > HERE > > Joe Stump wrote: > > > print "the max is ".M

Re: [PHP] constants inside of a string

2001-01-10 Thread jeff saenz
what about inside of a here doc print << print "the max is ".MAX; > > --Joe > > On Wed, Jan 10, 2001 at 12:12:08PM -0800, jeff saenz wrote: > > how do you use defines inside of a string... > > > > e.g. > > > > define(MAX,2); > > print "the max is MAX"; > > > > this obv does not work > >

Re: [PHP] constants inside of a string

2001-01-10 Thread Joe Stump
print "the max is ".MAX; --Joe On Wed, Jan 10, 2001 at 12:12:08PM -0800, jeff saenz wrote: > how do you use defines inside of a string... > > e.g. > > define(MAX,2); > print "the max is MAX"; > > this obv does not work > > jeff > > > -- > PHP General Mailing List (http://www.php.net/

RE: [PHP] constants inside of a string

2001-01-10 Thread Moritz Petersen
> how do you use defines inside of a string... > > e.g. > > define(MAX,2); > print "the max is MAX"; print "the max is " . MAX; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list a