i'm trying to use fullCalendar's plugin in my symfony projet, but i have some trouble to insert data into database. i have a page calendar/index, where we can see the calendar, and the javascript to create an event etc.
my first approach was to do something simple. Insert the title of the event in database, for that i try this :
$.ajax({
type: "POST",
url: "calendar/data",
data: title,
dataType: 'script'
});
And now i would like to insert the title in my database with the executeData in actions.class.php, but the only way to insert data into database that i know is with form. My question is : Can i do something like that, and if yes, how insert data in the database ?