httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Daubenspeck <m...@oddprocess.org>
Subject Re: [users@httpd] PHP CODE DRIVING ME NUTS
Date Mon, 02 Sep 2002 21:07:52 GMT
On Mon, Sep 02, 2002 at 03:18:16PM -0600, 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. 

$SQL = "SELECT * FROM review WHERE bar_name = '$bar'";

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