Hey all,
I've just started to use codeigniter and I have a question.
I am using arrays for defining certain values like:
$gender = array ('male','female');
Or:
$maritalStatus = array ('married', 'single', 'divorced');
I am using these kind of arrays in different views. My question is, is there a chance to put all of these arrays in a configuration file and load it when I need it? Or is there another method to achieve this?
Thanks a lot.