Hey all, I have an XML file with data listed as
<toollist>
<tool>
<toolid>7348</toolid>
<toolname>Jackhammer</toolname>
<desc>Ryobi Brand - Blue - Electric Jackhammer</desc>
<reserve>None</reserve>
<lastmaint>6/17/2012</lastmaint>
</tool>
<tool>
**CLIP**
</tool>
**ETC**
</toollist>
I have a simple PHP form to create new entries.
I also have all the data displayed in a table.
What i need is a way to edit the data. When a tool gets serviced, for example, I need to update the lastmaint field. Or if it gets reserved I need to update the reserve field.
How is the best way to do this. Or rather, the easiest way. Just needs to use PHP to edit the data.
I'm thinking I need to set the array, then have a form to have the user input an array number to select which gets updated.
Any help would be greatly appreciated! Am I on the right track?
Thanks in advance!
-Tim


