I have a form with 3 fields iteno, perno, and description with three textboxes in a row(iteno,perno, description). However a user can click a button and dynamically add another row having the same 3 text boxes(iteno,perno, description). He/she can add as many rows as he/she wants with same set of boxes(iteno,perno, description).
My question is how to insert the same to database using php & mysql by using foreach loop.