endy
endy

Reputation: 3872

Reading and writing an XML file with PHP

I have 2 text boxes and a radio button. When the user clicks submit I it to generate a XML file with the fallowing format.

<object>
    <string1>$string1</string1>
    <string2>$string2</string2>
    <bool>$myBoolean</bool>
</object>

After that I want to be able to read through the file and display it.

Upvotes: 1

Views: 448

Answers (1)

bcosca
bcosca

Reputation: 17555

SimpleXML should get you up and running.

Upvotes: 1

Related Questions