nimzie Posted January 11, 2008 Share Posted January 11, 2008 // Start XML file, create parent node $doc = domxml_new_doc("1.0"); $node = $doc->create_element("markers"); $parnode = $doc->append_child($node); gives me: Warning: domnode::append_child() expects parameter 1 to be object, null given in C:\xampp\htdocs\xampp\origin\admin\google\index.php on line 7 I'm not sure I understand.. I checked to see that domxml is there and working. It is... I'm assuming $doc is getting created, cause it's not giving any info @ the create_element command... I think I am using php4. Quote Link to comment Share on other sites More sharing options...
nimzie Posted January 12, 2008 Author Share Posted January 12, 2008 it seems like something is failing but php isn't reporting it. Has anyone had this problem? Should I try upgrading to php5? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.