php - How to loop forms in one page based on the number of entries -
php - How to loop forms in one page based on the number of entries - i doing offense management web application using php. the page when run it,it gives chance come in details case,then click on submit button brings form on same page. that form inquire come in number of accused involved,if lets instance have 2 accused,it bring form on same page allow come in personal info bout accused number 1 ...then click on submit button bring form asks come in number of crimes accused number 1 has committed...if lets 1 time again committed 3 crimes brings select form allows select offense , submit 3 times. after 3rd entry go 1 time again , give form come in personal details accused number two....same process accused 1 when done takes initial point ready come in new case i pray clear....please help this before code ...ready run <?php session_start(); if(isset($_session["start"])) { switch($_session["now"]) { ...