I am having trouble using DOM functions with php-4.3.11.
I have DOM/XML enabled but when I try to run a simple test script
I get: Call to undefined function: createelement()
I have DOM/XML enabled but when I try to run a simple test script
Code:
$dom = new DOMDocument('1.0', 'iso-8859-1');
$element = $dom->createElement('test', 'This is the root element!');
// We insert the new element as root (child of the document)
$dom->appendChild($element);
echo $dom->saveXML();
I get: Call to undefined function: createelement()