Advertisement
jamboljack

Mapping Data

Oct 6th, 2018
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. public function mapping()
  2.     {
  3.         header("Content-type:application/json");
  4.         $post = $this->input->post('id', 'true');
  5.         $dataJenis = array();
  6.         for ($i = 0; $i < count($post); $i++) {
  7.             $jenis_id = !isset($this->input->post('chkJenis')[$post[$i]]) ? '' : $post[$i];
  8.             print_r($jenis_id);
  9.         }
  10.  
  11.         // Mesti gimana ? :D
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement