Advertisement
michaelrio

DataAbsen.php

Jan 28th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <?php
  2. namespace fnc;
  3.  
  4. include "db/dbinputabsensi.php";
  5.  
  6. use db\dbinputabsensi;
  7.  
  8.  
  9. class DataAbsen{
  10.  
  11. public function sendDataAbsen($name, $phone, $address, $pic, $posisi, $latit, $longi,$sales, $distric, $province,$images){
  12.  
  13. $absensi = new dbinputabsensi();
  14. // $absensi1 = new dbinputabsensi();
  15. // $absensi2 = new dbinputabsensi();
  16.  
  17. $row01 = $absensi->setInputAbsensi($name, $phone, $address, $pic, $posisi, $latit, $longi,$sales, $distric, $province,$images);
  18. // $row02 = $absensi1->setInputAbsensiHO($usrid, $mobileid, $absensimodeid, $latitude, $longitude);
  19. // $row03 = $absensi2->setInputAbsensiHONasional($usrid, $mobileid, $absensimodeid, $latitude, $longitude);
  20.  
  21. return $row01;
  22.  
  23. }
  24.  
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement