httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Correia (J)" <Corr...@telkom.co.za>
Subject RE: [users@httpd] PHP CODE DRIVING ME NUTS
Date Tue, 03 Sep 2002 09:08:56 GMT
Also the fact that about 6-7 people have given the same answer - if
these ppl could just read the first response to the posted question
and see if an answer was already given then unnecessary responses
could be avoided.

just my 2c


-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@swx.com]
Sent: 03 September 2002 10:56
To: users@httpd.apache.org
Subject: RE: [users@httpd] PHP CODE DRIVING ME NUTS


I don't want to be a wet blanket, but... what has this got to do with
Apache? Apart from occupying the bandwidth of non-PHP apache users,
your insights will be archived in the wrong forum thus rendering them
unfindable to future PHP posters.

Doesn't PHP have its own mailing-list?

>-----Original Message-----
>From: Dirk-Willem van Gulik [mailto:dirkx@webweaving.org]
>Sent: Dienstag, 3. September 2002 10:39
>To: users@httpd.apache.org
>Subject: Re: [users@httpd] PHP CODE DRIVING ME NUTS
>
>
>
>It's the space in $bar. I.e. your sequel statement is (assuming
>$SELECT='SELECT';)
>
>	SELECT * FROM review WHERE bar_name=The Beverage
>
>rather than
>
>	SELECT * FROM review WHERE bar_name="The Beverage"
>	SELECT * FROM review WHERE bar_name='The Beverage'
>
>Just put the quotes in the string, escaped if needed.
>
>Dw.
>
>On Mon, 2 Sep 2002, Grant Cooper wrote:
>
>> $bar = "The Beverage";
>> $SQL = "$SELECT * FROM review WHERE bar_name=$bar";
>>
>> When sql executes the statement is kills off the "The" part.
>>
>>
>>
---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP 
>Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message