You are here: Newbie help with xml_parsed array « PHP Programming Language « IT news, forums, messages
Newbie help with xml_parsed array

Posted by Nancy on 02/08/06 02:00

Greetings,

I'm trying to make use of XML returned from a url. Below is what is returned
using code found on php.net under xml_parse. Is there an easy way to capture
KEYS and VALUES as variables? COUNT is a KEY and 6692 is it's value.

Thanks for any pointers! nan

Array ( [0] => Array ( [name] => DATABAPP [attrs] => Array ( ) [children] =>
Array ( [0] => Array ( [name] => COUNT [attrs] => Array ( ) [tagData] =>
6692 ) [1] => Array ( [name] => PRICE [attrs] => Array ( ) [tagData] => 0 )
[2] => Array ( [name] => QUERYID [attrs] => Array ( ) [tagData] => 2376267 )
[3] => Array ( [name] => CAMPAIGN [attrs] => Array ( ) [tagData] => 1 ) [4]
=> Array ( [name] => RETURNCODE [attrs] => Array ( ) [tagData] => 0 ) [5] =>
Array ( [name] => RETURNMSG [attrs] => Array ( ) [tagData] =>
success ) ) ) )

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация