Re: array looping
| From: | Micah Montoy | Date: | Wed, 13 Aug 2003 01:18:16 +0000 |
| Subject: | Re: array looping | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159378@lists.php.net to get a copy of this message | ||
You where right. I realized this a bit after I posted. I got it going once
I realized what I had forgotten.
thanks everyone for your input
"Liam Gibbs" <liamgibbs@sympatico.ca> wrote in message
news:00ce01c3612e$bc98db70$4d59fea9@TeletranOne...
> > I get all the content of file, so everything is in array 0. I need to
> > somehow break up the array by the comma.
>
> Wouldn't it be $file_contents = explode(",", $file_contents[0]);
>
> as in you've forgotten the array element?