title: fullcalendar.io render events with PHP/MySQL?
body: <p>I'm trying to implement this calendar into my site using a "while" command with PHP.  I dont know JSON or AJAX so not sure thats an option for me.  i have this code right now but it renders a calendar FOR EACH EVENT and not 1 calendar with all events on it.  I understand why, because i'm looping the whole calendar code, but is there a way to just loop the events?</p>
  
  <pre><code>&lt;div class="widget"&gt;
      &lt;div class="navbar"&gt;
          &lt;div class="navbar-inner"&gt;&lt;h6&gt;Calendar&lt;/h6&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div id="calendar" class="well"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;?
      $query = "SELECT * FROM tevents";        
      $result = mysql_query($query) or die(mysql_error());
      // Print out result
      while($row = mysql_fetch_array($result)){
          $calname = $row['Event_Title'];
          $caldate = $row['Start_Date'];
          $calnotes = $row['Event_Details'];
          $caltime = $row['Event_Time'];
  ?&gt;      
  
  &lt;script&gt;
  //===== Calendar =====//    
  $('#calendar').fullCalendar({
      header: {
          left: 'prev,next',
          center: 'title',
          right: 'month,agendaWeek,agendaDay'
      },
      editable: false,
      events: [
          {
              title: '&lt;?=$calname?&gt;',
              start: '&lt;?=$caldate?&gt;'
          },
      ]
  );
  &lt;/script&gt;
  </code></pre>