Im building a website for a school which they want to display homework on which has been set and stored in a database.
Ive made a form which has to dropn down menus and text boxs which i have copied 10 times so they can enter 10 sets of homework at 1 time without having to click the "add homework" button for every bit of homework set.
I was wondering what the easiest way of coding the php file so that it inputs all the data in the correct places as the names r the same for each place where you can put the homework in
eg.
<form action="add.php" method=post>
<input type=text name=hwkset>
<input type=text name=hwkset>
<input type=text name=hwkset>
<input type=text name=hwkset>
<input type=submit value=http://www.phpbuilder.com/board/archive/index.php/"add homework">
</form>
Hope this isnt too confusing to understand
Ive made a form which has to dropn down menus and text boxs which i have copied 10 times so they can enter 10 sets of homework at 1 time without having to click the "add homework" button for every bit of homework set.
I was wondering what the easiest way of coding the php file so that it inputs all the data in the correct places as the names r the same for each place where you can put the homework in
eg.
<form action="add.php" method=post>
<input type=text name=hwkset>
<input type=text name=hwkset>
<input type=text name=hwkset>
<input type=text name=hwkset>
<input type=submit value=http://www.phpbuilder.com/board/archive/index.php/"add homework">
</form>
Hope this isnt too confusing to understand