PHP to Javascript refreshing issue
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.
|