Hi,
Is it possible to search within an xml dataset using php 4.
I know PHP 5 has SOAP but I have not made the radical jump yet.
What I mean is as below:
Then the php would be (not parsed correctly-only for theory)
Reality is built on a foundation of dreams.
Is it possible to search within an xml dataset using php 4.
I know PHP 5 has SOAP but I have not made the radical jump yet.
What I mean is as below:
Code:
<icecream>
<type>
Low Fat
<flavour>
Strawberry
</flavour>
<flavour>
Vanilla
</flavour>
</type>
<type>
Full Cream
<flavour>
Strawberry
</flavour>
<flavour>
Vanilla
</flavour>
</type>
</icecream>
Then the php would be (not parsed correctly-only for theory)
Code:
$xmlresultset = "select * from icecream where type = fullcream"
while ($xmlresultset)
{
$flavour = $xmlresultset[flavour];
}
Reality is built on a foundation of dreams.