RE: [PHP] equivalent to PERL's qq
| From: | Cal Evans | Date: | Mon, 26 Mar 2001 19:54:26 +0000 |
| Subject: | RE: [PHP] equivalent to PERL's qq | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45635@lists.php.net to get a copy of this message | ||
$this = "Select *
From xsdfs
Group by date
Order by id";
Should work.
Cal
http://www.calevans.com
-----Original Message-----
From: Michael Hall [mailto:mike@prairiefirewebdesign.com]
Sent: Monday, March 26, 2001 1:36 PM
To: php-general@lists.php.net
Subject: [PHP] equivalent to PERL's qq
Hi. I'm a converted Perl guy. While I generally like PHP better than Perl,
I do severely miss the Perl operator qq, which allowed statements (in my
case, lengthy SQL statements) to be written on multiple lines.
$this = qq|Select *
From xsdfs
Group by date
Order by id
|;
Is there anything similar to this in PHP? I've been unable to find it if
there is.
Michael Hall
Prairie Fire Internet Technologies
mike@pfbiz.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