Commit | Line | Data |
---|---|---|
51ff3226 | 1 | <?php |
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"]}'"; | |
6 | $db->executequery($sql); | |
7 | $db->executequery($sql1); | |
8 | return (true); | |
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | } | |
16 | } | |
17 | ?> |