Advertisement
jamboljack

Function Verifikasi

Oct 10th, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.52 KB | None | 0 0
  1. public function verifikasi() {
  2.         header("Content-type:application/json");
  3.         $post = $this->input->post('checked_id');
  4.  
  5.         if(is_array($post) && count($post) > 0){
  6.             $idArr = $this->input->post('checked_id', 'true');
  7.             foreach($idArr as $rtlh_id){
  8.                 $this->pengajuan_m->verifikasi_data($rtlh_id);
  9.             }
  10.             $response['status'] = 'success';
  11.         } else {
  12.             $response['status'] = 'nodata';
  13.         }
  14.         echo json_encode($response);
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement