Jump to content

XML Help.


ChrisMartino

Recommended Posts

Hello there.

 

Thank you for taking the time to read my thread. My current issue it that I cannot figure out how to read a string that is of XML format then edit the values within the string. E.G

 

<maxplayers>40</maxplayers>

 

How would I change that to 30 if it was set to 40 like that?. (Only if it was more than 30).

 

And my issue is that I need to read the XML doc from a string and then use the edited document as a string again so no file saving is involved at all. Does anybody have a insight on how to do this?.

 

Thanks,

Christopher.

Link to comment
https://forums.phpfreaks.com/topic/213516-xml-help/
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.