0
<? //Calendar starts ?>     
$('#calendar').fullCalendar({

            header: {
                left: 'prev,next today',
                center: 'title',
                right: 'month,agendaWeek,agendaDay'

            },
            editable: true,

      (<? while($row = mysql_fetch_array($fetch_results)){?>),

<? // Events start I need to loop only these events i'm getting from the database table ?>

     events: [
                {
                    id: '',
                    title:  '<?=$row[title];?>',
                    start: '<?=$row[start_time];?>',
                        end: '<?=$row[end_time];?>',

                } ,
            ]
<? // Events ends?>
(<? }?>)

            });


    });
<? //Calendar ends ?>
4

1 に答える 1