> Date: Wed, 26 May 2010 15:36:18 -0400 > To: php-general@xxxxxxxxxxxxx; ajwei@xxxxxxxxxxxxx > From: tedd.sperling@xxxxxxxxx > Subject: RE: Select Values Didn't Get Passed in From Two Different Forms > > Alice: > > You provide: > > > <ul> > > <form action="" method="post"> > > <li>Select the type of your starting point of interest:<br/> > > <div id="start_menu"><form > >action="test_getrss.php" name="form1" method="post"> > > <span><input type="radio" > >value="Apartment" name="start" > > > >onclick="check(document.form1.start)"/> Apartment </span> > > <span><input type="radio" > >value="Grocery" name="start" > > > >onclick="check(document.form1.start)"/> Grocery > ></span> > > </form></div></li> </ul> > > > > <form action="process.php" method="post"> > > > > <input type="hidden" name="form1" > >value="<?php echo $start?>"/> > > <input type="submit" value="Submit" name="submit"/> > > <input type="reset" value="Reset" name="reset"/> > > </form> > > > ></body> > ></html> > My bad, I cannot imagine I sent that stuff. To answer your question, here it is, <form action="" method="post"> <p>Select the type of your starting point of interest:<br/> <input type="text" name="start" size="20" maxlength="50"/> <input type="submit" value="submit" name="submit"></p> </form> This is what is working now if I do it this way, but again, then I got to make sure everything is "typed up properly" before the form is submitted. Does this answer your questions by any chance? Thanks for your help. Alice > > You also state: > > > I hope this helps in understanding what my problem may be. > > It's very apparent that your problem is multifold and to solve it we > need to take the "solution" in steps. > > First, the above HTML code is just plain horrible -- and that's just > html part or the problem -- let alone the more complicated > php/mysql/javascript coding. > > If that is the best html code you can write, then I suggest that you > go back to learn html before learning anything else. > > So, your assignment (if you want me to continue to help) is to create > a simple form to collect the data you want. Nothing fancy, just a > simple form -- can you do that? > > The assignment is in your court. If you can show you can do that, > then we'll proceed to the next step. > > Cheers, > > tedd > > -- > ------- > http://sperling.com http://ancientstones.com http://earthstones.com _________________________________________________________________ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4