I\'m still a new programmer, and I have a problem getting this piece of code to work (that I got from here). It uses MySQL to store the data. I would like to understand all
Try replace:
events: "http://localhost/tpsdb/fullcalendar/events.php",
with:
eventSources: [ { url: 'http://localhost/tpsdb/fullcalendar/events.php', type: 'GET', data: {}, error: function () { alert('There was an error while fetching events!'); } } ],