RE: [PHP-DB] No data being put into the DB

2004-03-04 Thread Hutchins, Richard
ay, March 03, 2004 10:09 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] No data being put into the DB > > > On Thursday 04 March 2004 10:36, [EMAIL PROTECTED] wrote: > > > >>IMO it is better to use the braces syntax: > > >>"insert into show >

Re: [PHP-DB] No data being put into the DB

2004-03-04 Thread Bruno Santos
Hello. I'm not sure, but, witch version of php are u using ? replace all the instances of $_POST[varname] with $HTTP_POST_VARS[' varname '] and see what happens !!! Cheers Robert Sossomon wrote: I have a form: http://www.garlandcnorris.com/registration_tradeShow.html That then goes to this pag

Re: [PHP-DB] No data being put into the DB

2004-03-03 Thread Jason Wong
On Thursday 04 March 2004 10:36, [EMAIL PROTECTED] wrote: > >>IMO it is better to use the braces syntax: > >>"insert into show > >>values('','{$_POST['Accnt_name']}','{$_POST['acc_num']}', ...)" > > I'm not second guessing at all, just curious as to why? Is it less work on > the parser? > Do you

Re: [PHP-DB] No data being put into the DB

2004-03-03 Thread jeffrey_n_Dyke
On Thursday 04 March 2004 08:08, Rich Hutchins wrote: > Oh, and, normally, you reference the variables like so: $_POST["varname"]. > I typically use the following syntax: > > "INSERT INTO tablename > VALUES('".$_POST["varone"]."','".$_POST["vartwo"]."'); >>IMO it is better to use the braces sy

Re: [PHP-DB] No data being put into the DB

2004-03-03 Thread Jason Wong
On Thursday 04 March 2004 08:08, Rich Hutchins wrote: > Oh, and, normally, you reference the variables like so: $_POST["varname"]. > I typically use the following syntax: > > "INSERT INTO tablename > VALUES('".$_POST["varone"]."','".$_POST["vartwo"]."'); IMO it is better to use the braces syntax:

RE: [PHP-DB] No data being put into the DB

2004-03-03 Thread Rich Hutchins
L PROTECTED] Sent: Wednesday, March 03, 2004 5:36 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] No data being put into the DB I have a form: http://www.garlandcnorris.com/registration_tradeShow.html That then goes to this page: $display_block = ""; $date_sub = date("mdY - H:i:s"

[PHP-DB] No data being put into the DB

2004-03-03 Thread Robert Sossomon
I have a form: http://www.garlandcnorris.com/registration_tradeShow.html That then goes to this page: $display_block = ""; $date_sub = date("mdY - H:i:s"); $addtocart = "insert into show values('','$_POST[Accnt_name]','$_POST[acc_num]','$_POST[email]','$_POST [auth_buyer]','$_POST[attend_1]','$_