php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #785 Initalisation of variables with long strings
Submitted: 1998-09-25 03:40 UTC Modified: 1998-09-25 06:44 UTC
From: mb at mbit dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.4 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mb at mbit dot de
New email:
PHP Version: OS:

 

 [1998-09-25 03:40 UTC] mb at mbit dot de
E.g. you have to write a long sql-query-string, I think you have to write something like the following when you do not want to get lines with x00 characters:

$Query = "select Price, Date, Number, Id";
$Query = $Query." from Articles where";
$Query = $Query." Description like 'Bike%'";

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


Matthias

P.S.: PHP is great

Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 04:01:29 2024 UTC