Advertisement
Guest User

explode.php

a guest
Nov 21st, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. public function explode_data()
  2. {
  3. # code...
  4. $string = $this->input->post('deposit_to_account_number');
  5. //$str = str_replace("-", "", $string);
  6. $explode_data = explode(" ", $string);
  7. $deposit_to_bank_name = [0];
  8. $deposit_to_account_number = [1];
  9. }
  10.  
  11. public function tambah_proses()
  12. {
  13. $data=[
  14. "deposit_client_id" => $this->input->post('deposit_client_id'),
  15. "deposit_from_sender_name" => $this->input->post('deposit_from_sender_name'),
  16. "deposit_type_transfer" => $this->input->post('deposit_type_transfer'),
  17. "deposit_from_bank_name" => $this->input->post('deposit_from_bank_name'),
  18. "deposit_from_account_number" => $this->input->post('deposit_from_account_number'),
  19. "deposit_nominal" => $this->input->post('deposit_nominal'),
  20. "deposit_code" => $this->input->post('deposit_code'),
  21. "deposit_from_ref_code" => $this->input->post('deposit_from_ref_code'),
  22. "deposit_type" => $this->input->post('deposit_type'),
  23. "deposit_datetime" => $this->input->post('deposit_datetime'),
  24. "deposit_sysdate" => $this->input->post('deposit_sysdate'),
  25. "deposit_to_bank_name" => $this->input->$deposit_to_bank_name[0],
  26. "deposit_to_account_number" => $this->input->post->$deposit_to_account_number[1],
  27.  
  28. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement