I wrote a calendar script in php, since I was informed that the calendar was only going to show the current month's available days (more or less like a static image)...HOWEVER, earlier today I was informed that they would like to have prev and next buttons to change between the months. I have this working a 100% in php, but with the entire page refreshing every time they want to change the month. Is there a way to keep my php code and only refresh the calendar section of the page? The calendar section is currently pulled in as an include file. I know I have to use some javascript in order to accomplish this task, since PHP is server based, but I don't want to rewrite the whole thing in javascript if I don't have to. Thanks for any help someone can offer.
You should be able to use an Iframe, however if you want to avoid using Iframes try downloading my ajax example file.. it ties in with php, results from the php file are placed into a div.
Thanks for showing me the ajax example, since that solved my problem and also gave me more insight on how I can develop better PHP programs.