PHP Export Class
Moderator: General Moderators
PHP Export Class
Has anyone seen a script that creates various export formats, specifically tab, csv, xml, html, sql?
Re: PHP Export Class
Tab and csv is relatively simple - you iterate over the array, and at each element, append a tab or a comma. Done.Todd_Z wrote:Has anyone seen a script that creates various export formats, specifically tab, csv, xml, html, sql?
XML and HTML are considerably more challenging. XML requires a valid parse tree, and HTML is.. well, a mess.
One library for all of those wouldn't make much sense.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US