|
||||||||||||
|
If you have any doubts with your PHP code please discuss it in the PHP Forum INSERTING MULTIPLE ROWS AT THE SAME TIMEThere may be situations to insert multiple records simultaneously to the database. For example many students may register for a program. In such cases we may not know how many students may be registering. The following code produces an output like this : The number of records to be inserted : [ here there will be a text box to enter the number of records] Depending on the number of records the text boxes to enter records will appear. Finally, after submitting the insert button the data will be entered to the database. <form id="form1" name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" > |
|
||||||||||
| Copyright © 2008 www.worth2read.org. All rights Reserved. Use of this Site is subject to our Privacy Statement | ||||||||||||