Jump to content

adamrifau

New Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About adamrifau

  • Rank
    Newbie
  1. thanks code was fixed by adding a form and clearing some old codes .
  2. Here is current steps i'm able to do following steps with the current code .. 1- connecting the device . 2 - pull the current data from attendance device . 3 dispay the data in current page (in this case index.php) pulled information 1- user id (from attendance device) 2- username 3- index number 4- check in status 5-date 6- time i'm trying to manully insert the data (via button) into mysql database . if user pressed the button which currently unable to process i've removed form fields and tables because i don't want to display data in current page.
  3. I'm Trying to INSERT Data into mysql which is generated from biomatric attendance device. Currently when the page loads all the data in the device will be displaying in a table. what i wanted to do is to save these data into mysql database. i have tried few codes none of these code works for me . please let me know how can i do this . <?php include 'db.php'; ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script src="//ajax.googleapis.com/a
  4. how can i limit the data (display only last 10 )that display in this while loop $name = $userdata[1]; $attendance = $zk->getAttendance(); sleep(1); while(list($idx, $attendancedata ) = each($attendance)): if ( $attendancedata[2] == 1 ) $status = 'Check Out'; else $status = 'Check In'; ?> <tr> <td><?php echo $idx ?></td> <td><?php echo $attendancedata[0] ?></td> <td><?php echo $name ?></td> <td><?php echo $attendancedata[1] ?></td>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.