OK... im gunna come right off the bat and say im pretty weak in the XML parsing area... and ive looked around a bit but applying existing examples havent seemed to prove much help
heres what im doing... php 5 btw...
i have a "small" amount of data that i decided to store in a xml since making a DB was over kill... its basically a bunch of services and is structured like this:
<services>
<category>
<item>
<name></name>
<description></description>
<price></price>
</item>
</category>
</services>
i have a bunch of categories, but thats the basic structure
what i need todo is this... im going to have the user click a link which will drive the query string (QS)... now based on the QS i want to parse this xml file out in a formatted way
if someone could just show me how to parse oput the data where a variable will equal the "category" tag that would help me tremendously
pseduo code:
$cat = $_GET['servce'];
parse xml data where <category> == $cat
{
<name>
<description>
<price>
}
like that...
thanks!