How to read the sign-in information in the database and display it in the calendar
How to read the sign-in information in the database and display it in the calendar
Reply content:
How to read the sign-in information in the database and display it in the calendar
First, use php to write an interface to get userId and SC _time, and then use js ajax to get the obtained data and draw it into the calendar (calendar all the data, determines whether there is sign-in data for the day. If yes, the style is changed )...
But I don't know how to write interfaces. I am not working on the background. I think about this problem from the front end.
Isn't that the guy from the past few days. I also want to ask.
You are not a php issue, but a js issue. You can only paste a picture.
Who wrote this js and who you are looking for to work with you. If it is a third-party plug-in that has been directly obtained, let's look at the source code and try again.
Because we will tell you that the array data read by php is recycled to js.
I flipped through your question record, five or six in a row, all related to this sign-in.
To answer this question, you can only rely on yourself.