Jump to content

php edit xml file


android6011

Recommended Posts

I have an xml file that looks roughly like this:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<videos>

<video url="new.flv" desc="Guitar Solo" />

</videos>

 

what i want to be able to do is add more entries like "<video url="new.flv" desc="Guitar Solo" />". How can I get it to add the entry into the right place, so it doesnt show up after the </videos>?

Link to comment
https://forums.phpfreaks.com/topic/43715-php-edit-xml-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.