Jump to content


Photo

xml to php


  • Please log in to reply
2 replies to this topic

#1 sno

sno
  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 26 June 2006 - 03:02 PM

ok im wanting to get this

<Details>
<Username>·#·$7Frippy·0</Username>
<CleanUsername>Frippy</CleanUsername>
<LGR>[b][c=4]England 1[/c] - [c=8]0 Ecuador[/c][/b][</LGR>
<CleanLGR>England 1 - 0 Ecuador</CleanLGR>
<Statusi>Online</Statusi>
</Details>
which is froma xml file and set "Cleanusername", "CleanLGR" "Statusi"
to a varible...

im tryied and got nowhere,
anyone able to help me out?

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 26 June 2006 - 03:40 PM

There is some good example code in [a href=\"http://uk.php.net/manual/en/function.xml-parse-into-struct.php\" target=\"_blank\"]the manual pages for xml_parse_into_struct()[/a]

#3 sno

sno
  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 26 June 2006 - 05:36 PM

yer there nice examples. but they confused me to hell,




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users