Commit | Line | Data |
---|---|---|
e586807d | 1 | <?php |
e586807d H |
2 | |
3 | function set_type() { | |
4 | global $node,$db; | |
5 | $node_type=$_POST['node_type']; | |
6 | $node_id=$node['node_id']; | |
7 | $q="update nodes set node_type='$node_type' where node_id='$node_id'"; | |
8 | echo $q; | |
9 | $db->query($q); | |
10 | ||
11 | } | |
12 | ||
13 | ?> |