In my validation class I have this:
$fields['a_1'] = 'First Question';
$fields['a_2'] = 'Second Question';
$fields['a_3'] = 'Third Question';
$fields['a_4'] = 'Fourth Question';
This is getting old--I have about 40 of these to write, and each set has matching validation rules:
$rules['a_1'] = 'hour';
$rules['a_2'] = 'hour';
...
Is there a way to say:
$fields['a_' . 1 - 17] = "One, Two"
Etc...
Just curious... if not, I'll brute force it.