I've created a php function then used a loop to recreate the radio buttons, but now what im struggling with is the function only has one name, but it loops for several different topics. How do i differentiate each answer from one another..? (if that made any sense)
For example; the first two questions, faculty then the basic info i haven't bothered with php due to it not being repetitive enough..
With these i understand that each answer will be paired up with their names, such as faculty, moduleCode etc.
With the php function it looks like this;
}
echo '<br/><br/>';
}
}
?>
Then just inserting;
<?php
ratingLoop(4, 6);
?>
where it is needed.
But how would i now separate the question selections as in the function ive only given it the name radioGroup, basically im confusing myself but simply want to know.. How would i take each radio selection from the loop and input it into mySQL if they dont have unique names?
Thank you in advance for any tips!