All Media Collections
Pages
Home
Movies
Trailers
Hollywood
Bollywood
Kollywood
Sports
News
Latest News
Top News
Top Headlines
Technology
Cricket
Saturday, September 13, 2008
PHP XML foreach loop
<?php
$xmlDoc = new DOMDocument();
$xmlDoc->load("checkbox array.xml");
$x = $xmlDoc->documentElement;
foreach ($x->childNodes AS $item)
{
echo $item->nodeName . " = " . $item->nodeValue . "
";
}
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment