Fortune Telling Collection - Comprehensive fortune-telling - PHP online answer, how to return to the next question after the multiple-choice answer is submitted?

PHP online answer, how to return to the next question after the multiple-choice answer is submitted?

if(empty($ _ POST[' submit ']){

$ I = 0;

} Otherwise {

$ I = $ _ POST[I];

}

if($_POST['submit']! =""){

$ arrayid[$ I]= $ arrayid[$ I+ 1];

$ array[$ I]= $ array[$ I+ 1];

$ arrayA[$ I]= $ arrayA[$ I+ 1];

$ arrayB[$ I]= $ arrayB[$ I+ 1];

$ arrayC[$ I]= $ arrayC[$ I+ 1];

$ arrayD[$ I]= $ arrayD[$ I+ 1];

}

Echo "". $arrayid[$i]。 ".";

Echo "". $array[$i]。 "";