Re: [PHP] Why create_element function always return false?

2007-05-07 Thread Richard Lynch
On Fri, May 4, 2007 9:44 pm, Victor wrote: ?php $doc = domxml_new_doc(1.0); var_dump($doc); $node = $doc-create_element(para); var_dump($node); $newnode = $doc-append_child($node); var_dump($newnode); $newnode-set_attribute(align, left); ? I just run the example that is from php

Re: [PHP] Why create_element function always return false?

2007-05-05 Thread Tijnema !
On 5/5/07, Victor [EMAIL PROTECTED] wrote: ?php $doc = domxml_new_doc(1.0); $node = $doc-create_element(para); $newnode = $doc-append_child($node); $newnode-set_attribute(align, left); ? I just run the example that is from php manual. But there is some error

[PHP] Why create_element function always return false?

2007-05-04 Thread Victor
?php $doc = domxml_new_doc(1.0); $node = $doc-create_element(para); $newnode = $doc-append_child($node); $newnode-set_attribute(align, left); ? I just run the example that is from php manual. But there is some error --