| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor|
| 9:10 am on Jan 26, 2007 (gmt 0)|
Using PHP DOM XML, I am trying to get the number of nodes in the nodelist by using the length propery of getElementsByTagName.
here's the code:
$doc = new DOMDocument();
print "$count is the length<br>";
but it doesnt give me the length, rather this is the output i get:
"Object id #2length is the length"
Can someone help me out here.
Btw im using PHP5.
Thanx in advance
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved