I have a php script that gets responses for a form. Thing is, there are 20 different forms. For form 1, the POST gets the following values and stores them into variables.
$numberNa1=$_POST['numberNa1'];
$numbern1=$_POST['numbern1'];
$numberoi1=$_POST['numberoi1'];
$numbers1=$_POST['numbers1'];
$numberf1=$_POST['numberf1'];
I have this code that gets the id numbers from a form (ajax). I wish to repeat the same code 19 other times, so basically loop that line of code, but replace the number in the variable with another number. So for example, I wish the next chunk of code to be $numberNa2=$_POST['numberNa2']; and so on. This file is to be pure PHP.
extract().