473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Output timetable from SQL data?

Hi all,

I have a page with the date being passed
in(calendar_week.php?date=6-4-2005), but what i want to do is display a
timetable for the week that date falls on, from 8am-8pm in half-hour
increments for each day. If a booking has been made during the particular
time increment (eg 9am-10.30am), then this should be displayed in the table.

Bookings will be accessed from the table 'bookings' on a MySQL database
'qubra'. The 'bookings' table contains the fields: id, start_time, end_time,
name, description. i would want the 'name' field to be inserted into the
timetable, clickable for further details on the booking.

Final output should be something that looks a bit like this if possible:
http://info.wlu.ca/wlu-hp/info/sample_timetable1.jpg

Sorry if it's a bit too time-consuming, but any pointers would be very
helpful. I'm a novice to PHP and my mind has been fried over the past couple
of days trying to work out how to do this.

Thanks in advance for any help,

Chris


Jul 17 '05 #1
0 1629

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

Similar topics

0
by: richard | last post by:
The Open Source Developers' Conference is on next week (Dec 1 - 3) in Melbourne (Australia) and the conference timetable is now available: <http://www.osdc.com.au/news/timetable.html> As you can...
6
by: MA | last post by:
Hi all! Im going to develop a timetable with c# and asp.net. Does anyone knows of any good site where i can find information? I have googled for a while, but cant find anything. /Marre
4
by: Kevin Mansel via .NET 247 | last post by:
Ok, basically this is my problem. I'm building a console app tocall a dos program. So i'm using the Shell command to call theprogram, now depending on what happens, I want to read theoutput that...
6
by: Ben | last post by:
Hi We have a Dataset that has been populated from the output parameter of a Stored Procedure (@Output). I understand that I can extract a single item when the dataset is populated by a table...
0
by: Paul Boddie | last post by:
EuroPython is the European Python and Zope Conference, taking place this year in Vilnius, Lithuania from Monday 9th July to Wednesday 11th July. The last day of EuroPython's early registration...
17
by: chaos | last post by:
HELLO !!! i doing timetable system using php. i now stuck in part whereby showing the change between Original TimeTable and Proposed TimeTable in chart so that the user will know the change he...
0
by: smoothkriminal1 | last post by:
the question is u read timetable of 40 students from file n den find da slot where all fourty students dnt hve clash...if any.... may b i ll be able to make clash logic but i m even just nt...
1
by: smoothkriminal1 | last post by:
Write a Code that will pick timetable of 40 students from file using linklist n than find a slot where all the students dont have any class. file can be of any format Student can maximum take 6...
2
by: gabosom | last post by:
Hi! I've been breaking my head trying to get the output variables from my Stored Procedure. This is my SP code CREATE PROCEDURE GetKitchenOrderDetail( @idService int, --outPut Variables ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.