[Solar-talk] Country list
Antti Holvikari
anttih at gmail.com
Tue Oct 17 14:50:06 PDT 2006
On 10/18/06, Antti Holvikari <anttih at gmail.com> wrote:
> On 10/18/06, Paul M Jones <pmjones at ciaweb.net> wrote:
> > On Oct 17, 2006, at 4:21 PM, Antti Holvikari wrote:
> >
> > > I need to store a list of countrys somewhere so that I can access it
> > > almost from everywhere. It should be in the form of:
> > >
> > > array(
> > > 'FI' => 'Finland',
> > > ....
> > > );
> > >
> > > Where do you think I should store it?
> >
> > Seems like it'd be perfect as Solar/Locale/xx_XX.php array entries.
> > I wonder if the code should be prefixed; e.g., 'COUNTRY_FI' =>
> > 'Finland' ?
Sorry my last email was not clear enough, I meant how can we fetch the
whole list of countrys if they're in the the locale file?
--
Antti Holvikari <http://phphalo.com>
More information about the solar-talk
mailing list