--- 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 $value)
> >     {
> >     echo($value . "\n");
> >     }
> >   }
> > 
> 
> 02112008 0831 GMT-6
> 
> I got the same error with this code as I did with mine but then 
> something you said hit me. I copied the data from the email, my original 
> posting, and pasted in a new file with the above code. No error. So it 
> was maybe an errant space or tab that caused the problem.
> 
> Thanks.
> 
> Wade

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

Reply via email to