Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-07-2006, 02:01 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2005
Posts: 20
Default HTML query


hi friends
i am working on a timetable manamengent system..in which i have to display the timetables of different teachers depending on data fetched from database..the problem is that how do i display the output in a typical timetable format...because the names of the subjects can be different and i want it to be general...i hope you understood the problem.. waiting for a reply..

thanks
Satyen
satyen_abrol is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-07-2006, 03:50 PM   #2 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: HTML query

You can't use plain HTML to fetch data from database! You will need something like PHP to do it for you. What database is that? Is it on a web-server somewhere? What's the setup for this application? Is it on an intranet or internet?

And please don't start multiple threads for the same problem!!
tuxfan is offline  
Old 09-07-2006, 03:53 PM   #3 (permalink)
Apprentice
 
martian's Avatar
 
Join Date: Dec 2005
Location: Mars!
Posts: 75
Default Re: HTML query

We cannot connect to a Database using plain HTML... You should try doing the same with AJAX, PHP, etc.
__________________
Oh my! Such a nice Planet...
But... what am I doing here??
martian is offline  
Old 09-07-2006, 04:15 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2006
Posts: 8
Default Re: HTML query

I dont think fetching from database is the problem but displaying it in the typical way is the problem.
Paschim is offline  
Old 09-07-2006, 04:41 PM   #5 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
Default Re: HTML query

Once you put the name of the subject also in the database, you can retrieve it and display it as a variable through PHP+SQL

Arun
sakumar79 is offline  
Old 09-07-2006, 06:53 PM   #6 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2005
Posts: 20
Default Re: HTML query

Freinds fetching data from the data is not the problem.the problem is how do i present the data in the form of a timetable...what do i use in html to display the data...

And i have used JSP to connect to the the database MySQL..i again repeat fetching data is not the problem but how do i display it in the timetable format...

Last edited by satyen_abrol; 09-07-2006 at 07:20 PM. Reason: Automerged Doublepost
satyen_abrol is offline  
Old 09-07-2006, 09:54 PM   #7 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
Default Re: HTML query

Your table is basically HTML code consisting of recurring tabs (TR, TD, etc)... Just create a double loop for the table (one for the timeslot and one for the class to teach), put table level tags before the loop, row level tags in the first loop and cell level tags in the second loop... You will have to have PHP put out the whole Table code in generated HTML...

Arun
sakumar79 is offline  
Old 10-07-2006, 11:05 AM   #8 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: HTML query

You need to use a loop (for, while, etc.) to display the table thats repetitive! I have a php Calendar that I made for a site. It had pecualiar requirements and so any existing one was not suitable. I wrote it from scratch.

If you need the code, PM me.

Frankly, your query is not too clear! What exactly is the problem? Are you not aware of table, th, tr, td, etc. code of HTML? Are you a HTML newbie? Whats the actual problem?
tuxfan is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by Charan
- by abhidev
- by Sujeet
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 09:17 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2