test3
[mirrors/Kyberia-bloodline.git] / trash / configure_bookmarks.inc
CommitLineData
51ff3226 1<?php
2 function configure_bookmarks() {
3 global $db,$error,$node;
4 $node_id=$node['node_id'];
5 $db->query("update node_access set bookmark_category=0 where user_id='".$_SESSION['user_id']."' and bookmark_category='$node_id'");
6 foreach($_POST['bookmark'] as $key =>$value) {
7 $db->query("update node_access set bookmark_category='$node_id' where user_id='".$_SESSION['user_id']."' and node_id='$key'");
8 }
9
10 }
11?>
This page took 0.437211 seconds and 4 git commands to generate.