Enter values to the same table using two queries

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ghjk
    Contributor
    • Jan 2008
    • 250

    Enter values to the same table using two queries

    I have 2 test box and one drop dwon box. when user select value from the dropdown box another text box would apper. So i want to insert values to the databse using both options. how can i do that?
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #2
    Originally posted by ghjk
    I have 2 test box and one drop dwon box. when user select value from the dropdown box another text box would apper. So i want to insert values to the databse using both options. how can i do that?
    I'm no sure what you mean but

    as long as you have the name attribute you can grab it with PHP $_REQUEST['fieldName'];

    it doesn't matter how they "appear" client side, ie if your doing style.display=n one to style.display = block.

    if its on the page when the form submits, you can grab it.

    Comment

    Working...