PHP 7.1.0 Released
add a note add a note

User Contributed Notes 1 note

up
0
starloran at hotmail dot com
12 years ago
I tried to use unlink_node to delete a node, but it never worked.
However, you can delete a node with this:

function delNode($node){
                   $nud=$node->parent_node();
                   $nud->remove_child($node);
}
To Top