2 function unbook_multi() {
4 global $db,$error,$node;
5 $bookmarks=$_POST['bookmarks_chosen'];
7 foreach ($bookmarks as $chosen_id) {
8 $q="update neurons set link='soft' where synapse_creator='".$_SESSION['user_id']."' and src='".$chosen_id."' and link='bookmark'";
11 $q="update node_access set last_visit='',node_bookmark='no' where user_id='".$_SESSION['user_id']."' and node_id='".$chosen_id."'";