Hi,
So if you want to access all these $question_# in a loop, have they been previously defined... or are they being defined in the loop...
Either way, would it not be much easier to use an array...
$question[1]="question 1" ;
$question[$Q_num] = "Question $Q_num";
It would be simple to increment or change your $Q_num every loop.
The array would still allow you to search for any requirements that end your loop...
Hope this helps,
Good luch
Andre