Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function explode_data()
- {
- # code...
- $string = $this->input->post('deposit_to_account_number');
- //$str = str_replace("-", "", $string);
- $explode_data = explode(" ", $string);
- $deposit_to_bank_name = [0];
- $deposit_to_account_number = [1];
- }
- public function tambah_proses()
- {
- $data=[
- "deposit_client_id" => $this->input->post('deposit_client_id'),
- "deposit_from_sender_name" => $this->input->post('deposit_from_sender_name'),
- "deposit_type_transfer" => $this->input->post('deposit_type_transfer'),
- "deposit_from_bank_name" => $this->input->post('deposit_from_bank_name'),
- "deposit_from_account_number" => $this->input->post('deposit_from_account_number'),
- "deposit_nominal" => $this->input->post('deposit_nominal'),
- "deposit_code" => $this->input->post('deposit_code'),
- "deposit_from_ref_code" => $this->input->post('deposit_from_ref_code'),
- "deposit_type" => $this->input->post('deposit_type'),
- "deposit_datetime" => $this->input->post('deposit_datetime'),
- "deposit_sysdate" => $this->input->post('deposit_sysdate'),
- "deposit_to_bank_name" => $this->input->$deposit_to_bank_name[0],
- "deposit_to_account_number" => $this->input->post->$deposit_to_account_number[1],
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement