Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting multiple records into db

Status
Not open for further replies.

shamrox

Programmer
Sep 27, 2001
81
US
I'd like to submit mulitple records into a database table at the same time. Each record would be similar as seen below,

<label>Date:</label>
<input name=&quot;Input&quot; type=&quot;text&quot; value=&quot;yyyy-mm-dd&quot; size=&quot;15&quot; maxlength=&quot;10&quot;>
<label>Time:</label>
<select name=&quot;time1&quot; id=&quot;time1&quot;>
<option value=&quot;900-500&quot;>1</option>
<option value=&quot;830-430&quot;>2</option>
<option value=&quot;1100-330&quot;>3</option>
</select>
<label>Locality:</label>
<select name=&quot;select2&quot;>
<option>DC</option>
<option>CO</option>
<option>etc.</option>
</select>
<label>Location:</label>
<select name=&quot;Location&quot;>
</select>

There would be 10 lines of the above allowing different dates, times, etc input. Then I'd like to have a submit button to submit all into the table. I'm not sure what the best way to do this is. Do I have a form for each line or what?

Thanks.
Bill


 
yup that can be done...

but that depends upon how u generate the multiple lines...

are the number of records fixed? or is it generated by ur code.... (ASP/PHP/....)



Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top