ID: 16397 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: w2k PHP Version: 4.1.2 New Comment:
I'm using a PHP 4.1.2 version on SunOS. I have tried to delete a DOM Element object by using: $nodetodelete->unlink(); Actually, it works but it return a "The page cannot be display" page. What should I do? Thanhs a lot, Harry Previous Comments: ------------------------------------------------------------------------ [2002-04-05 13:24:53] [EMAIL PROTECTED] domxml_unlink_node should not be used: Usage for 4.2.0: domxml_node_unlink_node($nodetodelete); or $nodetodelete->unlink(); For future versions: domxml_node_unlink_node($nodetodelete); or $nodetodelete->unlink_node(); ------------------------------------------------------------------------ [2002-04-02 12:59:30] [EMAIL PROTECTED] $node - is DOM Element object domxml_unlink_node($node) reports error: expects exactly 0 parameters, 1 given but $node->domxml_unlink_node() reports error as well: Call to undefined function: domxml_unlink_node() 8-OOO 8-\\\ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16397&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php