HELP! I have a script that allows the user to make appointments on a calendar which could last from a few hours to a few days. I use the fields "datefrom" and "dateto" to determine how long the appointment lasts. The mktime result is passed in the browser as $focus when a date is clicked. To see what I've done so far, the address is "http://www.jason.sbnetworks.net/test/calendar/index.php" The blue blob determines date today, and green blobs determines an appointment made.
For example: An appointment lasts from 17th till 19th May. I click on the 17th, 18th, or 19th and the appointment should display. But if I click an earlier date, or later date the appoinment should not appear.
Please help!
Jason.