Feb 12 2011, 11:36 AM
A client wants me to create a basic html form w. a button to dynamically add rows to the table as needed. I'd like the button to add 5 rows for each click of the button. How do I do this in PHP?
Feb 12 2011, 04:39 PM
Since PHP is a server-side language the user must submit the form, so that a new page with the additional rows is created. One way might be to use two submit buttons (with different names), and let the PHP script do different things depending on which one was clicked.