there are a few things about this however:
1. eval is slow and can be a security risk
2. you are limited to 7 arrays unless you manually change the loop
3. its barely readable
4. i have a reasonably large headache now
I think the better way is to re-think how you retrieve your data (assuming this is how you are retrieving it currently, i apologise if i have misunderstood).
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
The Following User Says Thank You to sketchMedia For This Useful Post:
The use of discrete global variables for something like this seems a little excessive. The data pattern is that of a simple array with $munitn being associated with some value. I can't see why using many different variables would be preferred over a simple array.