Creating online scheduler

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Creating online scheduler

Post by amir »

Hi, I'm attempting to create an online scheduler. The current scheduler is actually just an Excel Spreadsheet. Each cell shows the start time and the end time of a task. The spreadsheet displays the schedule per week. I have a db already created on MySQL. Basically, what I would like is an idea on how to represent the schedule showing the start time and end time that is queried from the db. For example, I have one record with the following information:
date: 2006-11-01
press_start: 20:30
press_end: 22:30

How can I fill in several cells in a table to represent this task? The times on the schedule are in 15 minute blocks, that is, the day begins at midnight, then 12:15 AM, 12:30 AM, 1:45 AM, etc. Any ideas are welcome, I'm at a complete loss right now.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

That sounds like a calendar. You might want to seach here or look a phpclasses.org to see how others have built calendars.
(#10850)
Post Reply