Re: constants inside of a string

From: Date: Wed, 10 Jan 2001 21:16:56 +0000
Subject: Re: constants inside of a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33782@lists.php.net to get a copy of this message
No. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "<body>" -- 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 <jeff@planetoid.net> > To: Joe Stump <joe@earth.care2.com> > Cc: php-general@lists.php.net > Subject: Re: [PHP] constants inside of a string > > what about inside of a here doc.... > > print <<<HERE > this is the MAX > HERE > > Joe Stump wrote: > > > 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/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > --- > > Joe Stump > > PHP Programmer > > www.Care2.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#33782) next »