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 <<<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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> > ---
> > Joe Stump
> > PHP Programmer
> > www.Care2.com
> 

---
Joe Stump
PHP Programmer
www.Care2.com


-- 
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]

Reply via email to