Re: [PHP] Using 'print <<

2003-09-16 Thread Rudi Starcevic
Hi, > $my_string = strtolower("Hello World"); > print << $my_string > END; Yeah that'll work fine for me. Thanks Rudi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using 'print <<

2003-09-16 Thread - Edwin -
Hi, Rudi Starcevic <[EMAIL PROTECTED]> wrote: > Hi, > > When printing like this: > > print << Hello world > END; > > Is it at all possible to use a function in the output ? > For example: > > print << strtolower("Hello World") > END; > > So far I've been unable to make it function work. Hmm

Re: [PHP] Using 'print <<

2003-09-16 Thread Duncan Hill
On Tuesday 16 Sep 2003 08:14, Rudi Starcevic wrote: > Hi, > > When printing like this: > > print << Hello world > END; > > Is it at all possible to use a function in the output ? > For example: > > print << strtolower("Hello World") IIRC, heredocs print everything contained within literally, unles

[PHP] Using 'print <<

2003-09-16 Thread Rudi Starcevic
Hi, When printing like this: print << Is it at all possible to use a function in the output ? For example: print << So far I've been unable to make it function work. Many thanks Rudi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] using print instead of echo

2002-09-07 Thread Pekka Saarinen
At 9/7/2002, you wrote: >the example I have below.. I'm able to get working using the 'echo' command. >But I would like to know how to format the same using the 'print' command. >I am familiar with both. but with this one instance I am not sure how to >format the print command correctly to get th

[PHP] using print instead of echo

2002-09-07 Thread Kevin Heflin
the example I have below.. I'm able to get working using the 'echo' command. But I would like to know how to format the same using the 'print' command. I am familiar with both. but with this one instance I am not sure how to format the print command correctly to get the same results as the ech