PHP Echoed in Ajax

I have built a site in PHP for radio station, and the daily schedule is displayed dynamically using PHP script.

I have added links to view different days but when it loads up its just loading up a new page. I can't quite remember how I done it but I'd like it to be in ajax if that's possible.

I have no knowledge of what I need to do so any help to tutorials would be great.

Thanks in Advance

Have a look at JQuery, it simplifies ajax a lot.

Here is a code snippet that shows, how to update a div in a document with a page fragment loaded with ajax

$.ajax ({
           type    : "get",
           url     : "/ajax/url/to/get/contents.html",
           context : "body",
           success : function(data)
                     {
                         $("#mydiv").html(data);
                         // do maybe some more tasks
                     }
       });

AJAX also loads pages -- it has to get the data somehow. It just does so in javascript with an xmlquery..