473,471 Members | 4,650 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Schedule

Currently, I have a database that stores a course schedule. For
example:

Course Title, Start Time (datetime), End Time (datetime), Mon (T/F),
Tues (T/F), Wed (T/F) Thurs (T/F), Fri (T/F)

I want to take this data and graph it as a visual calendar using
tables.

For example:

Time Monday Tuesday Wednes ...
10:00AM WS1093
10:30AM WS1093
11:00AM WS1093
11:30AM
12:00PM EH2312
12:30PM EH2312
1:00PM EH2312

Something like that. What's the best way to do this? Clearly, I
could make a an html calendar and load it up with a bunch of if
statements but is there a more elegant way to fill in the calendar?

Are there any classes available to easily do this?

Code examples are very much welcomed!

Thanks!
Jul 17 '05 #1
3 1980
ensnare wrote:
Currently, I have a database that stores a course schedule. For
example:

Course Title, Start Time (datetime), End Time (datetime), Mon (T/F),
Tues (T/F), Wed (T/F) Thurs (T/F), Fri (T/F)

I want to take this data and graph it as a visual calendar using
tables.

For example:

Time Monday Tuesday Wednes ...
10:00AM WS1093
10:30AM WS1093
11:00AM WS1093
11:30AM
12:00PM EH2312
12:30PM EH2312
1:00PM EH2312

Something like that. What's the best way to do this? Clearly, I
could make a an html calendar and load it up with a bunch of if
statements but is there a more elegant way to fill in the calendar?

Are there any classes available to easily do this?

Code examples are very much welcomed!

Thanks!

hmmmmm.. sounds like a school homework project to me... if not, my
apologies.. There are numerous examples of calendaring in PHP, you need
only to look... Or a novel approach would be to figure it out by
reading the docs like the rest of us...

Coding the forms/tables is a no-brainer, getting the data out of the db
in a manner you can use will be a bit more challenging.

Michael Austin.
Jul 17 '05 #2
> hmmmmm.. sounds like a school homework project to me... if not, my
apologies.. There are numerous examples of calendaring in PHP, you need
only to look... Or a novel approach would be to figure it out by
reading the docs like the rest of us...

Yes, for school but not a homework project. I'm trying to create a
utility for students to automagically display their schedules.
Coding the forms/tables is a no-brainer, getting the data out of the db
in a manner you can use will be a bit more challenging.


Yes, what is the best strategy to go about this in the most efficient
manner. Retriving from the DB isn't so bad it's displaying the data
that is complicated.

Thanks in advance.
Jul 17 '05 #3
Hello,

On 07/08/2004 08:52 PM, ensnare wrote:
Currently, I have a database that stores a course schedule. For
example:

Course Title, Start Time (datetime), End Time (datetime), Mon (T/F),
Tues (T/F), Wed (T/F) Thurs (T/F), Fri (T/F)

I want to take this data and graph it as a visual calendar using
tables.


Try this class that does exactly what you ask:

Class: Schedule
http://www.phpclasses.org/schedule

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Adisorn Ratanakovit | last post by:
When you set up a full-text catalog in SQL Server and you set up the population schedule, a job gets created and scheduled under SQL Server Agent. The problem I encountered recently is when I...
1
by: bigfella | last post by:
Hi Everyone, I am using the following code (many thanks for the code folks BTW) to generate 3 schedules in three tables one is a schedule with 7 day intervals and two are daily schedules. The...
0
by: argniw | last post by:
I have a schedule of annual events that need to occur in different locations throughout the year. Each event has a due date associated with it. I also have an optimal schedule that consolidates...
1
by: greg7224 | last post by:
I am currently working on a C# project that uses the Janus schedule controls, and am having trouble getting it to print correctly in Day view. The problem is that it will not print out the owners...
3
by: tstutting | last post by:
Hello, This is my first post and I'd really appreciate any help I can get. Sorry this is so long but it's complicated. I'm a USAF Officer and I'm attempting to make a shared MS Access DB that...
7
by: hgirma | last post by:
Hello Gurus, Is it possible to schedule a task to run an application deployed using ClickOnce? The executable changes location with each update.. and if i were to run the executable directly,...
3
by: assgar | last post by:
Hi I am having problem with my loping. I don't know if I have chosen the correct approach. GOAL: I need to insert into a table event types for a specific date range. The calendar the event...
14
lotus18
by: lotus18 | last post by:
Hello all I have these records on my Day Table for my complete database table please click here 1. M 2. T 3. W 4. TH 5. F 6. S
5
by: btraveler747 | last post by:
We have this database to track all our employees. I am trying to build a 14 day schedule to track all employees appointments leaves etc... I am sure this needs to be done in vba code but I am not...
1
Czechnology
by: Czechnology | last post by:
Hi all! I'm programming a small internet radio player in C# and as a part of it, I wanted to include the station's time schedule. Now the problem is, I have no idea what would be the best...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.