简体   繁体   中英

Accessing a page only once using php

I just created an attendance management system. Now I want the user to add the attendance only once a day, and restrict them if they try to do it again. How would i do that? And is there any example to start with? Thanks in advance.

You can use timestamp on your database. Check timestamp from database if user add the attendance before saving into the database.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM