i want to get the data from xml file like following...
pattern 1:
<guestbook>
<entry name="kushal">
<mytext>Hi this is kushal</mytext>
</entry>
<entry name="phnai">
<mytext>Hi this is phnai</mytext>
</entry>
</guestbook>
it is difficult to get data for me but i can get data like following
pattern 2:
<guestbook>
<entry>
<myname>kushal</myname>
<mytext>Hi this is kushal</mytext>
</entry>
<entry>
<myname>phnai</myname>
<mytext>Hi this is phani</mytext>
</entry>
</guestbook>
i want to get pattern1 only please
please anyone help me im in dead condition
how to get value from xml into php
Moderator: General Moderators
-
kushaljutta
- Forum Commoner
- Posts: 50
- Joined: Fri Dec 26, 2008 11:05 am
-
kushaljutta
- Forum Commoner
- Posts: 50
- Joined: Fri Dec 26, 2008 11:05 am
Re: how to get value from xml into php
thanks Papa...