Tuesday, April 11, 2017

FullCalendar event unable to populate. Even though able to var_dump variable

Below is the code which generates the events for the fullcalendar

        events: [
                <?php $count=count($getBooking);$i=1;foreach($getBooking as $singleBooking){ ?>
                {
                title:'',
        start:'T',
        msg: 'Time:  to :00:00<br>Course Name: <br>Room Name: <br>Service: ',
}
                    <?php if ($count > $i) { echo ',';}?><?php $i++; }?>
                ]



via Nicholas Chiau

Advertisement