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
>
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
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
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
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:
Robert,
I'm assuming that you have an open database connection and that you have
just omitted it from your post for convenience sake.
I'll keep looking at your code, but my first suggestion would be for you to
echo $addtocart before you submit it to the database. This will show you the
exact quer