initializing a domxml_new_doc()
Moderator: General Moderators
initializing a domxml_new_doc()
I use php 5.3.1 , can any one tell me how to initializing a domxml_new_doc() 
Re: initializing a domxml_new_doc()
Code: Select all
$dom = domxml_new_doc('1.0');Re: initializing a domxml_new_doc()
I get Fatal error: Call to undefined function domxml_new_doc() for$doc = domxml_new_doc("1.0");
I guest I need to do some configuration, how
I guest I need to do some configuration, how
Re: initializing a domxml_new_doc()
Hmm. So do I, despite what the PHP site says. You could always use DOMDocument to achieve the same result.
Code: Select all
$xml = new DOMDocument('1.0');Re: initializing a domxml_new_doc()
DomXML is PHP4 only extension.
Re: initializing a domxml_new_doc()
Ah, I only saw >= 4.2.0. I hadn't noticed the PHP 4 on the left menu.