Re: Problem posting variables

From: Date: Wed, 15 Nov 2000 14:34:55 +0000
Subject: Re: Problem posting variables
Groups: php.db 
Request: Send a blank email to php-db+get-4446@lists.php.net to get a copy of this message
try something like this...notice the = sign! <input type="hidden" name="overview" value="<?=$frm["overview"]?>"> Luis --- Olivier Bourgeois <olivier@digifactory.fr> wrote: > > 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@lists.php.net > For additional commands, e-mail: > php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/

« previous php.db (#4446) next »