2 function delete_friend() {
3 if($_POST["delete_id"]) {
4 $sql = "delete from `nodes` where `node_id` = '{$_POST["delete_id"]}' and `external_link` = 'sessions://friend'";
5 $sql1 = "delete from `node_content` where `node_id` = '{$_POST["delete_id"]}'";