I have been learning PHP for a while, and now I am very curious about how to achieve two functions using a database.
Expiration voice reminder
Order reminder
对方正在输入....2020-05-14 18:44:33
Workerman has a long connection, and the scheduled task checks the database expiration every second and can actively send messages to the front end.
微笑°2020-03-09 10:46:04
Use js to write a scheduled task, ajax asynchronous request, and the data returned each time is stored in the client. Then judge. This is a personal opinion. There are many ways,