You DON'T NEED TO DO THIS, you should look at your approach.
You could do eval ('$question' . $index . '='. ' "something"; ');
if index was 1, it'd be the same as saying:
$question1 = "something";
BUT...
It's always better to use an array for this application because you can work better with an array (only need to know the name of the array and you have all the KEYS as well as the values), hence
$question[$index] = "something";
or
$question[$recordset['ID']] = "something";
I would ALMOST always use checkboxes as a value of 1, and live with a non-set value for a checkbox that wasn't checked. In other words, the NAME of the checkbox is the descriptive part, and the value just says yes/no - true/false - 1/0 -- see what I mean?
Keep thinking through the process, programming is all about elegance and doing the most with the least complexity. There's always, for any given situation, the "most elegant solution" beyond which you can't boil it down any simpler. Math majors sometimes even focus on proving that's true mathematically (I don't do that, I just use common sense :-)
Finally, if you need consulting services for like a $25.00 donation on a specific project where I review your code, I'd be happy to do that as well.
Sam Fullman
Compass Point Media