Hi guys!
I have a file with data in the following format:
<user>
<fname>Anthony</fname>
<lname>Smith</lname>
<accid>3874918</accid>
</user>
<user>
...
</user>
I'm trying to parse this data and store it to MySQL database with the follwing fields: fname, lname, accid.
Now the problem is how to determine <user>
and </user>
so I can parse the data inside of it? Thank you.