View Single Post

  #2 (permalink)  
Old 05-09-2008
James Dempster
 
Posts: n/a
Default Re: [PHP] Get array as string --Help

serialize

--
/James

On Fri, May 9, 2008 at 10:40 AM, Shelley <myphplist@gmail.com> wrote:

> Hi all,
>
> If I have an array like this:
> $arr = array (
> 'c' => 'd',
> 'e' => 'f');
>
> How can I convert this array into a string? I want to write an array into a
> file.
>
> Thanks in advance.
>
> --
> Regards,
> Shelley
>


Reply With Quote