newbie: XMLDOM

From: Date: Tue, 13 Aug 2002 12:25:48 +0000
Subject: newbie: XMLDOM
Groups: php.windows 
Request: Send a blank email to php-windows+get-15224@lists.php.net to get a copy of this message
Hi, I'm complete new to php and completely confused. my script so far includes $doc = domxml_new_doc("1.0"); $root = $doc->add_root("QUIZ"); $question=$root->new_child("QUESTION",""); which seem fine but when I try:- $q_element=$question->create_element("testElement"); OR $questionText=$question->create_attribute ( "questiontext", "hhhh"); I get an error message saying that the function is undefined. ------------------------------------------ phpinfo() says that XML,wddx and domxml are all active or enabled. Any ideas..???

« previous php.windows (#15224) next »