Re: Get array as string --Help
| From: | James Dempster | Date: | Fri, 09 May 2008 09:42:45 +0000 |
| Subject: | Re: Get array as string --Help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274056@lists.php.net to get a copy of this message | ||
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
>