title: How do I get FullCalendar to display information from my JSON feed?
body: <p>I'm setting up an app using FullCalendar (<a href="http://arshaw.com/fullcalendar/" rel="nofollow">http://arshaw.com/fullcalendar/</a>) that will allow the user to see client scheduling information as well as schedule clients through a management interface.</p>
  
  <p>I want to use a MySQL database to populate an array, and then pass that array in the form of a JSON feed to FullCalendar on an HTML page.  Ideally, then, the client information would show up on the HTML page.  However, even though my JSON feed is being passed, there are no events on my FullCalendar.  </p>
  
  <p>Example JSON feed being passed: </p>
  
  <pre><code>[{"title":"Watson","start":"1333976400","end":"1333980000","allDay":false}]
  </code></pre>
  
  <p>I'm fairly new to these languages and I would not be surprised if this mistake turn out to be simple.</p>
  
  <p>I would deeply appreciate any help or insight on having these events show up.  When I manually feed an array into FullCalendar, it does show the events, but so far my JSON feed has resulted in no information being displayed.</p>
  
  <p>Thank you</p>
  
  <p>For reference:
  HTML:</p>
  
  <pre><code>        $(document).ready(function() {      
          $('#calendar').fullCalendar({
              events: '/json-events.php'
          });     
  });
  </code></pre>
  
  <p>PHP:</p>
  
  <pre><code>        while ($record = mysql_fetch_array($result)) {
          $event_array[] = array(
              'id' =&gt; $record['id'],
              'title' =&gt; $record['title'],
              'start' =&gt; $record['start_date'],
              'end' =&gt; $record['end_date'],
              'allDay' =&gt; false
          );
      }
  
  echo json_encode($event_array);
  </code></pre>