Re: Bug #785: Initalisation of variables with long strings

From: Date: Fri, 25 Sep 1998 09:38:26 +0000
Subject: Re: Bug #785: Initalisation of variables with long strings
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1488@lists.php.net to get a copy of this message
On 25 Sep 98, at 7:40, mb@mbit.de wrote: > It would be nice when you also can write that instead: > > $Query = "select Price, Date, Number, Id" > " from Articles where Description like 'Bike%'"; > > - Or is it already possible? - Yup. I usually write my queries like this: $Query = "select Price, Date, Number, Id " . "from Articles " . "where Description like 'Bike%'"; (Note the '.' at the end of each line.) > P.S.: PHP is great! Sure is! Dave ---------------------------------------------------------------------- Dave Walton Webmaster, Postmaster Nordic Entertainment Worldwide walton@nordicdms.com http://www.nordicdms.com ---------------------------------------------------------------------- -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1488) next »