note 54035 deleted from function.domdocument-create-element by nlopess

From: Date: Tue, 21 Jun 2005 18:32:19 +0000
Subject: note 54035 deleted from function.domdocument-create-element by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-90757@lists.php.net to get a copy of this message
Note Submitter: kozer ---- Does anybody have an idea what could possibly be wrong with that method? It doesn't even return any object - it's null all the time. I have these lines: $newElem=$dom->create_element("VALUE"); $newElem->set_content("something"); $elemValue->append_child($newElem); and I receive the error message: Fatal error: Call to a member function set_content() on a non-object in c:\usr\krasnal\www\Dyplom\ConfigManagement.php on line 75. I tried to use create_text_node() method and it's the same.

« previous php.notes (#90757) next »