note 66825 added to function.xml-parse

From: Date: Tue, 30 May 2006 16:02:25 +0000
Subject: note 66825 added to function.xml-parse
Groups: php.notes 
Request: Send a blank email to php-notes+get-112547@lists.php.net to get a copy of this message
The code below was throwing errors for me with nodes that don't have children so I added the following: if ( array_key_exists( "childrens", $tob[$c] ) ) { if( count( $tob[$c]["childrens"] ) > 0 ) { //$result .= "\r\n" . $this->toXML( &$tob[$c]["childrens"] ) . ""; $result .= "\r\n" . $this->toXML( $tob[$c]["childrens"] ) . ""; } } Caveat emptor ---- Server IP: 216.194.113.175 Probable Submitter: 24.43.162.144 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.xml-parse.php Edit -- http://master.php.net/note/edit/66825 Del: integrated -- http://master.php.net/note/delete/66825/integrated Del: useless -- http://master.php.net/note/delete/66825/useless Del: bad code -- http://master.php.net/note/delete/66825/bad+code Del: spam -- http://master.php.net/note/delete/66825/spam Del: non-english -- http://master.php.net/note/delete/66825/non-english Del: in docs -- http://master.php.net/note/delete/66825/in+docs Del: other reasons-- http://master.php.net/note/delete/66825 Reject -- http://master.php.net/note/reject/66825 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112547) next »