PDA

View Full Version : forms to database


Katx18
02-15-2006, 03:57 AM
There are two forms in a page (A and B) with only one submit button for both. Is it possible to input the values of form A to table A in mySQL, then the values of form B to table B?

We're only allowed to use servlets as html to sql connectors

shyam
02-15-2006, 09:48 AM
yes it is

Katx18
02-15-2006, 01:39 PM
hmm... do you know how to separate them? When I get the values from both forms, how do I code it in such a way that form a goes to table a and form b goes to table b? or if I don't use separate forms, how do I put that in my database? >_<