Jump to content

PHP Select query


01hanstu

Recommended Posts

Hi,

I have a table within my database named it_booking_ict1, ict2 etc and within each table it the following (cut down here) layouts, rows:

 

start_week                  mon1  mon2  monclass1 monclass2  mon1changed mon2changed etc...

2012-03-12 00:00:00  FREE  FREE  NULL        NULL          2012-03-13    NULL

 

When a booking is made it updates the mon1 with the username, monclass1 with the class and adds the date to mon1changed. I am trying to make a select query that will show the bookings made for this week (staff can only book for the current week).

 

I hope this makes sense, if anyone has any ideas i'd greatly appreciate it.

 

Stu,

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.