Array file I/O

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I'm trying to write an array to a file, and I want to later read it in
again. Some of the array elements are themselves arrays. I would also
like to preserve the keys of the array elements. Is there a simple way
to do this? (some kind of dump to file function).

Thanks in advance for any help.

Re: Array file I/O

In article

Quoted text here. Click to load it

I figured it out, I can simply use serialize and unserialize :-)

Site Timeline