note 81645 modified in function.dom-domnamednodemap-item by danbrown

From: Date: Fri, 28 Nov 2008 21:45:27 +0000
Subject: note 81645 modified in function.dom-domnamednodemap-item by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147262@lists.php.net to get a copy of this message
Nevermind: I got it, and here it is: <?php if($element->hasAttributes()) { $attributes = $element->attributes; if(!is_null($attributes)) { foreach ($attributes as $index=>$attr) { echo $attr->name."=\"".$attr->value."\""; } } } ?> --was-- Nevermind: I got it, and here it is: if($element->hasAttributes()) { $attributes = $element->attributes; if(!is_null($attributes)) { foreach ($attributes as $index=>$attr) { echo $attr->name."=\"".$attr->value."\""; } } } http://php.net/manual/en/function.dom-domnamednodemap-item.php

« previous php.notes (#147262) next »