Hi,
I'm sure this won't be a tough problem for most of you but I'm relatively new to PHP. Here's a sample file I'm working on:
<name>John Doe</name>
<job>Janitor</job>
<address>76 nowhere place
New York, New York 87632</address>
I'm trying to place the data between each set of tags into a variable to eventually put into a db. I know how to open the file and loop through it, I just can't figure out the logic of how to grab the desired data. Also, how do you deal with the fact that the closing tag isn't always on the same line as the opening one? Thanks in advance,
Dylan