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