Drumminxx Posted June 25, 2006 Share Posted June 25, 2006 I started this project that updates about a dozen xml files that provides data for a flash website.my question is does php have any functions for writing to xml files?to be more specific... I can parse the xml with no problem using php functions so thats cool.updating it however, I can not find any info on this.My best solutions are to treat them as text files and use a series of strpos, stristr, etc. to update the files or use a database to store the info and add, edit or delete from the database and then rewrite the xml files.any thoughts on this....thanks Link to comment https://forums.phpfreaks.com/topic/12850-php-and-xml/ Share on other sites More sharing options...
jajtiii Posted June 25, 2006 Share Posted June 25, 2006 A couple of years ago, I used xml_parser_create and some of its sibling functions.But, last Fall I had to do another project and found the pear package 'XML_Serializer' was much better.I mention 'last Fall' because things seem to change and there may be something better in the Pear repository now. Link to comment https://forums.phpfreaks.com/topic/12850-php-and-xml/#findComment-49329 Share on other sites More sharing options...
Drumminxx Posted June 25, 2006 Author Share Posted June 25, 2006 Thanks, I'll look into that Link to comment https://forums.phpfreaks.com/topic/12850-php-and-xml/#findComment-49405 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.