Re: [php-list] syntax error in array

2008-02-11 Thread James Keeline
--- Wade Smart [EMAIL PROTECTED] wrote: The code runs fine for me and when I tryed to extract the data I get full keys and values arrays. ie - foreach($NOAA_Weather_Codes as $key = $subarray) { $index++; echo ($index . ' ' . $key . ' '); foreach($subarray as

Re: [php-list] syntax error in array

2008-02-11 Thread Wade Smart
The code runs fine for me and when I tryed to extract the data I get full keys and values arrays. ie - foreach($NOAA_Weather_Codes as $key = $subarray) { $index++; echo ($index . ' ' . $key . ' '); foreach($subarray as $value) { echo($value . \n); } }

Re: [php-list] syntax error in array

2008-02-11 Thread Wade Smart
Did you have a particular reason to place the coded values for each array element in another array? Unless it is for compatibility with another system, it seems like you are adding unnecessary complications. James 02112008 0959 GMT-6 Actually yes. There are four more values that go into

[php-list] syntax error in array

2008-02-10 Thread Wade Smart
02102008 1855 GMT-6 Im using an include to pull in a very large array. There is an error it says but I can see it. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/public/Misc/Beau/SiteRedo/NOAA_Weather_Codes.php on line 82 Fire

Re: [php-list] syntax error in array

2008-02-10 Thread Wade Smart
[EMAIL PROTECTED] wrote: - Original Message - From: Wade Smart Im using an include to pull in a very large array. There is an error it says but I can see it. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in

Re: [php-list] syntax error in array

2008-02-10 Thread listgroups08
- Original Message - From: Wade Smart Im using an include to pull in a very large array. There is an error it says but I can see it. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/public/Misc/Beau/SiteRedo/NOAA_Weather_Codes.php on line 82

Re: [php-list] syntax error in array

2008-02-10 Thread listgroups08
- Original Message - From: Wade Smart [EMAIL PROTECTED] wrote: - Original Message - From: Wade Smart Im using an include to pull in a very large array. There is an error it says but I can see it. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING,