RE: Select Values Didn't Get Passed in From Two Different Forms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux