Re: [PHP-DEV] Bug #785: Initalisation of variables with long strings From: Dave Walton (walton <email protected>)
Date: 09/25/98

On 25 Sep 98, at 7:40, mb <email protected> 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 <email protected> http://www.nordicdms.com
----------------------------------------------------------------------

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>