Set Variable to Multiple Lines
| From: | Mike richardson | Date: | Thu, 29 Aug 2002 17:42:30 +0000 |
| Subject: | Set Variable to Multiple Lines | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114529@lists.php.net to get a copy of this message | ||
I've been searching for this old php feature (perhaps it was
deprecated), and can't get the right keywords to look it up.
There was a way, similar to the perl method shown below, to set multiple
lines of data equal to a variable.
(in perl)
$variable = __SOME_HEADER_HERE__
Put whatever is desired here, including $variables.
Just end it with this:
__SOME_HEADER_HERE__;
Anyone know what this is for PHP?
Best wishes
Michael Richardson
Web Developer
(520) 529-2000
merichardson@mdausa.org
========================
// http://www.mdausa.org //
========================
..very few phenomena can pull someone out
of Deep Hack Mode, with two noted exceptions:
being struck by lightning, or worse, your *computer*
being struck by lightning.
-- Matt Welsh