Jump to content

Displaying timetable data in a grid


This topic is 8492 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi Guys,

I've managed to hit a brick wall almost from the beginning in developing an online timetable system for our students to query.

What I want them to do is select the classes they attend and press 'submit' to get a table they can printout which lays out their timetable as below:

Monday Tuesday ....

0800 FY3501

Room 2

Dr. X

0900 FY3501 FY3520

Room 2 Room 7

Dr. X Dr. W

1000

etc.

I can set it up so they get a big long list of entries for their mulitple search however I'm really stuck in trying to visualise the cdml codes in the html table and how to pull data from a database and insert it into the correct cells in the table, depending on the student's course search.

If anyone can help or know of an existing solution I'd be very greatful.

Thanks

Frazer

Link to comment
Share on other sites

Hi Guys,

Cracked it:

Each cell in my table has code resembling the following entered:

[fmp-record][FMP-If:start_time.eq.0800][FMP-If:day.eq.Mon][fmp-field:Course]

[fmp-field:location]

[fmp-field:type]

[/FMP-IF][/FMP-IF][/fmp-record]

By varying the if statements I can display different results from the search.

Cheers,

Frazer

Link to comment
Share on other sites

This topic is 8492 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.