Fullcalendar. linking to database
<p>currently i am trying to to a calendar using the full calendar plugin. Here is my code, </p>

<pre><code>&lt;!DOCTYPE html&gt;
    &lt;html&gt;
    &lt;head&gt;
    &lt;meta charset='utf-8' /&gt;
    &lt;link href='fullcalendar.css' rel='stylesheet' /&gt;
    &lt;link href='fullcalendar.print.css' rel='stylesheet' media='print' /&gt;
    &lt;script src='moment.min.js'&gt;&lt;/script&gt;
    &lt;script src='jquery.min.js'&gt;&lt;/script&gt;
    &lt;script src='fullcalendar.min.js'&gt;&lt;/script&gt;
    &lt;script&gt;

        $(document).ready(function() {

            $('#calendar').fullCalendar({
                header: {
                    left: 'prev,next today',
                    center: 'title',
                    right: 'month,agendaWeek,agendaDay'
                },

                selectable: true,
                selectHelper: true,
                select: function(start, end, jsEvent, view){
                  window.location = "testing.php";
                },



            });

        });

    &lt;/script&gt;
    &lt;style&gt;

        body {
            margin: 40px 10px;
            padding: 0;
            font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
            font-size: 14px;
        }

        #calendar {
            max-width: 900px;
            margin: 0 auto;
        }

    &lt;/style&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;div id='calendar'&gt;&lt;/div&gt;
    &lt;/body&gt;
    &lt;/html&gt;
</code></pre>

<p>Currently, when i click on a date, the calendar redirect me to the test.php (which is what i wanted). Here nows the tricky part. How do i code it in a way that, For example, when the user pressed on january 10th, the details( which is in the database) will be echo out to that php. (testing.php).</p>

<p>Any suggestion on how my testing.php file should be done? sorry in advance if i happen to ask a stupid question.</p>

<p>To add on , it is somehow a feature which is similar to this <a href="http://www.w3schools.com/php/php_ajax_database.asp" rel="nofollow">http://www.w3schools.com/php/php_ajax_database.asp</a> thank you in advance for any helpful tips. </p>