Okay here is my promblem :
I need to create a dynamic html table.
I have one row and a "Add" button and a "submit" button, the user
clicks on the add button and a new row is
created, so now we have two rows, right no
promblem! But the rows include a dropdown
for every day in the week. e.g.
<tr>
<td><select name=mon>
<option>1</option>
<option>2</option>
</select>
</td>
<td><select name=tue>
<option>1</option>
<option>2</option>
</select>
</td>
<and so on until sunday)
</tr>
okay so if the user clicks the "add" button
another row (with the EXACT same variable
names for the select's is created)
So if the user click's the "submit" button
only one rows values will be written to the database. What I need is differant varibale names for each select in each new row.
Can anyone help me?
thanks!!