So, when I used php with MySQL I just did:
$result = $mysqli->query("SELECT * FROM table WHERE person='Bob'");
I am now using PHP with XML and I havn't a clue how to do this. I've tried googling but I don't know what this would be called in XML.
My XML is:
<People>
<person>Bob</person>
<about>Bob is a blob. He is 20 Years old, etc</about>
</People>
<People>
<person>Jim</person>
<about>Jim is 90 Years old, he plays basketball, etc</about>
</People>
<People>
<person>Steve</person>
<about>Steve is a superhero with the ability to fly.</about>
</People>
I'm basically trying to echo a certain Person's information. So if the user searches for Jim it would echo:
Name: Jim About: Jim is 90 Years old, he plays basketball, etc