MagicalDean
Technical User
This my sound like an odd question, but could I use PHP to edit parts of an XML file? What i want to do is to use XML to store 3 values, the options for a quiz. I then want some way of editing the invidual options by basically adding one to the value in the correct tag
<poll>
<option1>10</option1>
<option2>10</option1>
<option3>10</option1>
</poll>
Although that isn't correct XML, its what the thing would look like roughly. I have a system that currently does the same, but instead of one XML thingie, I have 3 txt files, each of which is edited when their option is selected in the poll
I hope that all makes sense, and any help is greatly apprechiated
<poll>
<option1>10</option1>
<option2>10</option1>
<option3>10</option1>
</poll>
Although that isn't correct XML, its what the thing would look like roughly. I have a system that currently does the same, but instead of one XML thingie, I have 3 txt files, each of which is edited when their option is selected in the poll
I hope that all makes sense, and any help is greatly apprechiated