Re: [PHP] php variables in sql statements.

2001-02-19 Thread Ifrim Sorin
From: Matt Davis <[EMAIL PROTECTED]> To: Php Mailing List <[EMAIL PROTECTED]> Sent: Monday, February 19, 2001 6:05 PM Subject: [PHP] php variables in sql statements. > Can someone tell me if this is possible. > > I have a PHP variable which i got from a html form using $HTTP_PO

[PHP] php variables in sql statements.

2001-02-19 Thread Matt Davis
Can someone tell me if this is possible. I have a PHP variable which i got from a html form using $HTTP_POST_VAR. I collect a variable called Community. Therefore is it possible to have an sql statement like this? //create sql statement $sql = "select businessname from main where businesst