hi how can i generate the following code example from php/mysql result set?
'title' => "Event1",
'start' => "2013-02-10"
'title' => "Event2",
'start' => "2013-02-20"
Load the result data into a 2-D array (details will depend on what DB extension you are using), then json_encode() that array.
Also remember that json_encode() is fairly new and may not be included in your php install...i've ran into this a few times before, in which case there are some other functions and classes available to handle the task.