--- 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
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);
}
}
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
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
[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
- 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
- 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,