Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VIEW
- $.getJSON('/index.php/admin/move_page/'+node.id.replace(/.*_/,'')+'&parent_id='+(p==-1?0:p[0].id.replace(/.*_/,''))+'&order='+new_order);
- CONTROLLER
- <?php
- public function move_page($id ='',$to ='',$order=''){
- $data = array(
- 'i_d' => $id,
- 't_o' => $to,
- 'oda' => $order
- );
- return $this->db->insert('sent_values', $data);
- ?>
Add Comment
Please, Sign In to add comment