How to read the check-in information in the database and display it in the calendar
Reply content:
How to read the check-in information in the database and display it in the calendar
First use PHP to write an interface to get the UserID and Sc_time, and then use the JavaScript ajax to get the data to draw into the calendar (calendar all the data, to determine whether the day of the presence of check data, is to change the style) ...
But specifically how to write interface I will not, I do not do backstage, from the perspective of the front-end thinking of the idea of this problem
This is not the last few days that dude. also asked.
You are not the problem of PHP, but the JS problem. You put a picture on it, and there's no egg to use.
This JS is who wrote, you find who to cooperate with you. If it is directly grilled third-party plug-ins, then you honestly see the source of their own toss it.
Because everyone will tell you, PHP read out the array data, loop to JS.
Turn over your question record, five or six consecutive, are related to this check-in.
You can only rely on yourself to ask this.