Re: [PHP-DB] Problem posting variables From: Olivier Bourgeois (olivier <email protected>)
Date: 11/15/00

> I am trying to create a form to enter orders for eBay auctions into a mySQL database. The first step, here:
>
> http://www.wholesalemegastore.com/ebay/step1.php3
>
> looks up the auction in a table, and displays our part number as well as the description in step two using
>
> printf("%s\n", $myrow["variable_name"]);
>
> I wish to post these to step3.php3 using
>
> <input type=hidden name="variable_name" value="<? echo $variable_name ?>">
>
> in step two, and to display these variables in step three using
>
> echo "$variable_name\n";
>
> but the values don't seem to show up. Everything else shows up but these two variables. Any suggestions? If you want to try it you can use auction 491469283. I haven't coded for Continue button so you would need to press "Finished" in step two.
>

Hello,
    I've watched the thing : first there's a parse error in your script on line 266, but is not the cause of the problem. You should double check the end form tag </form> because it stands just 12 lines under the begining, also you hidden input aren't
in the form. So it's the reason why the data aren't posted. Or the other possibility is that you have two forms in your document, but the second form isn't closed due to the parse error. BTW I find it more clear to have just one form for all the data.

bye

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>