This might do it.
I haven't used this, but I've seen other's use it.
http://us2.php.net/manual/en/function.serialize.php
HTH,
Glenn
On Oct 20, 2009, at 6:05 PM, Leam Hall wrote:
Down the road I'll get this going in a database, but at the moment
I'm stuck using flat files to store multi-dimensional array data. So
I have a file that gets imported, is used and potentially changed,
and then needs to be written back to a file if any data changed.
Is there a good way to do this other than just iterate through each
array?
Thanks!
Leam
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation