Hi,
Plz tell me how to put this into DB:
<div align="center">
<center>
<table border="1" cellspacing="0" width="80%" cellpadding="0" id="AutoNumber1" style="font-family: Arial; font-size: 14pt; border-collapse:collapse" bordercolor="#111111">
<form method="POST" action="addschdetails.php"><tr>
<td width="100%" colspan="2" align="center"><font size="5">Add Main
Schemes</font></td>
</tr>
<tr>
<td width="25%"> Org</td>
<td width="75%"><select name="org" tabindex="1">
<option>abnamro</option>
<option>citi</option>
<option>emirates</option>
<option>fwb</option>
<option>hbaz</option>
<option>hsbc</option>
<option>saudi</option>
</select></td>
</tr>
<tr>
<td width="25%"> Scheme Name</td>
<td width="75%"><input type="text" name="schname" size="34" tabindex="3"></td>
</tr>
<tr>
<td width="100%" colspan="2">
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" cellpadding="0" id="AutoNumber2">
<tr>
<td width="25%" align="center"><b>Min Deposit</b></td>
<td width="25%" align="center"><b>Max Deposit</b></td>
<td width="25%" align="center"><b>Maturity</b></td>
<td width="25%" align="center"><b>Rate</b></td>
</tr>
<tr>
<td width="25%">
<input type="text" name="mindep1" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="maxdep1" size="20" tabindex="3"></td>
<td width="25%"><input type="text" name="mat1" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="rate1" size="20" tabindex="3"></td>
</tr>
<tr>
<td width="25%">
<input type="text" name="mindep2" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="maxdep2" size="20" tabindex="3"></td>
<td width="25%"><input type="text" name="mat2" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="rate2" size="20" tabindex="3"></td>
</tr>
<tr>
<td width="25%">
<input type="text" name="mindep3" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="maxdep3" size="20" tabindex="3"></td>
<td width="25%"><input type="text" name="mat3" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="rate3" size="20" tabindex="3"></td>
</tr>
<tr>
<td width="25%">
<input type="text" name="mindep4" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="maxdep4" size="20" tabindex="3"></td>
<td width="25%"><input type="text" name="mat4" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="rate4" size="20" tabindex="3"></td>
</tr>
<tr>
<td width="25%">
<input type="text" name="mindep5" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="maxdep5" size="20" tabindex="3"></td>
<td width="25%"><input type="text" name="mat5" size="20" tabindex="3"></td>
<td width="25%">
<input type="text" name="rate5" size="20" tabindex="3"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="25%" align="center">
<input type="reset" value="Reset" name="B2"></td>
<td width="75%" align="center">
<input type="submit" value="Submit" name="B1" tabindex="9"></td>
</tr></form>
</table>
</center>
</div>
The problem is that in the form we have 20 fields:
mindep1, maxdep1, mat1, rate1
mindep2, maxdep2, mat2, rate2
mindep3, maxdep3, mat3, rate3
mindep4, maxdep4, mat4, rate4
mindep5, maxdep5, mat5, rate5
All these go into same table in same fields with the same form?