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?
Enter values to the same table using two queries
Collapse
X
-
I'm no sure what you mean butOriginally posted by ghjkI 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?
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