+ 1

How to loop a form in php?

How to print a form n times . Each execution the form contents should be stored by PHP variable

6th May 2017, 12:21 PM
Jackson Alappatt
Jackson Alappatt - avatar
1 Answer
+ 1
<form action="action.php" method="post"> with attribute action you can define that your POST/GET variables are reachable for example for action.php. there you can loop your form data. the echo return value of action.php can be used to fill form fields
6th May 2017, 2:38 PM
Oliver