Re: [PHP] can i do this in one step

2006-04-18 Thread Jochem Maas
Ross wrote: I am retrieving the vlaue from an associative arrray but do I need to do it in with two lines of code? The numerical value is stroed in the DB. $region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen City Council', 2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll a

[PHP] can i do this in one step

2006-04-18 Thread Ross
I am retrieving the vlaue from an associative arrray but do I need to do it in with two lines of code? The numerical value is stroed in the DB. $region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen City Council', 2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll and Bute Counci