$this = "Select *
             From xsdfs
            Group by date
            Order by id";

Should work.

Cal
http://www.calevans.com


-----Original Message-----
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 1:36 PM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]


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



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