FullCalendar - clientEvents: can't send the returned array to php without losing the date/time values
What I'm trying to do is pretty simple. When an event is created or resized/moved in the calendar, I update my database. In my database I don't have a row for each event, I have instead a json array in a field which contains all the events for a particular section (that will make sense to you later).
So what I'm trying to do is each time an event is created/resized/moved I get back all the events from the calendar and send them through ajax to the server, and store them in the database. The problem I have is that I lose the date/time information in my php script. I guess it has something to do with the fact that on the javascript side it is encoded differently that on the php side.
I can't update only the event that is resi开发者_开发问答zed because in my database, I don't have (yet) a way to differentiate the events. So I need to get them all and make my beautiful json array and put it in the db.
So, anyone get some ideas? Thx Guill
精彩评论