hi how can i generate the following code example from php/mysql result set?


PHP Code:

    
echo json_encode(array(
    
        array(
            
'title' => "Event1",
            
'start' => "2013-02-10"
        
),
        
        array(
            
'title' => "Event2",
            
'start' => "2013-02-20"
        
)
    
    ));