Code: Select all
$question1, $question2, $question3.. etc.
The 'counter' variable in the forloop is $j, and I was thinking something along the lines of:
Code: Select all
$question$j
Moderator: General Moderators
Code: Select all
$question1, $question2, $question3.. etc.
Code: Select all
$question$j
Of course, I can just turn them into an array.. what was I thinking. Haha.AbraCadaver wrote:Yes, variable variables are cool, but normally if you need to use them, an array would be a better and easier solution. Where are these question variables coming from?