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?
If by "do this" you mean to see if the array changed, what about array_diff()?

--
Allen Shaw
TwoMiceAndAStrawberry.com

"Data Management, Web Applications, and the Meaning of Life"

al...@twomiceandastrawberry.com
Phone: (903)361-7429 ("361-SHAW")
Fax:   (253)276-8711
http://www.TwoMiceAndAStrawberry.com

_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to