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..???



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to