I have the following code:
if ($_POST[\'submit\'] == \"Next\") {
foreach($_POST[\'info\'] as $key => $value) {
echo $value;
}
}
if you structure your form differently
...then in your PHP
if( isset($_POST['quiz']) AND
is_array($_POST['quiz'])) {
//...and we'll skip $_POST['quiz']['first']
foreach($_POST['quiz'] as $key => $val){
if($key == "first") continue;
print $val;
}
}
...you can now just loop over that particular structure and access rest normally