Jump to content

Recommended Posts

I'm at my wits end.  I have a mysql db that stores clinical times for a paramedic class.  When students select their clinical time and date, I want to check the database to verify that the date and time selected is either available or already taken, and then notify the student if its available or taken.

 

Would this be a mysql query?  I'm a greenhorn when it comes to mysql and php. I had this project thrown in my lap a few weeks ago and I'm learning as I go.  Any help would be greatly appreciated.

Link to comment
https://forums.phpfreaks.com/topic/52514-need-some-serious-help/
Share on other sites

Thanks for the quick reply.  Table structure is as follows:

 

valley_id

month

date

hospital

ambulance

shift

 

The form page has pulldowns for month, date, hospital, ambulance and shift.  The page will refresh every 30 seconds so it will update as other students select their clinicals.

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.