Re: Re: what is wrong with my big array
| From: | Ray Hauge | Date: | Tue, 07 Mar 2006 15:16:30 +0000 |
| Subject: | Re: Re: what is wrong with my big array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231592@lists.php.net to get a copy of this message | ||
On Tuesday 07 March 2006 08:08, Ross wrote:
> $region_array = array('a' =>'All of Scotland', 1 =>'Aberdeen
> City Council',
> 2 =>'Aberdeenshire Council', 3 =>'AngusCouncil', 5 =>'Argyll
> and Bute
> Council', 6 => 'Clackmannanshire Council', 9 =>'Dumfries and
> Gallowalloway', 10 => 'Dundee City Council', 11 => 'East Ayrshire
> Council',
> 13 => 'East Dunbartonshire', 14 => 'East Lothian Council', 15 =>
> 'East
> Renfrewshire Council', 16 =>'Edinburgh City Council', 17 =>'Falkirk
> Council', 18 =>'Fife Council', 20 =>'Highland Council', 21
> =>'Inverclyde
> Council', 22
> =>'Midlothian Council', 23 => 'Moray Council', 24 =>'North
> Ayrshire
> Council', 25 =>'North Lanarkshire Council', 26 =>'Orkney Islands
> Council',
> 27 =>'Perth & Kinross Council', 28 => 'Renfrewshire Council',29
> =>'Scottish
> Borders Council', 30 = > 'Shetland Isles Council', 31 =>'South
> Ayrshire
> Council', 32 => 'South Lanarkshire Council', 33 => 'Stirling
> Council', 34
> =>'West Dunbartonshire', 35 => 'West Lothian Council', 8 =>
> 'Comhairle nan
> Eilean');
After the 30 element you have a space after the '=' like: "= >" instead of
"=>"
HTH
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
http://www.americanstudentloan.com
1.800.575.1099