Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 12th, 2006, 06:17 PM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Check for Time/Date Conflict

Hello everybody.

I am currently developing a simple judge scheduling application for a mulit-school competition in business. There will be a number of judges registering to judge events. I have created two tables for registering. 1. jegreg with EventID and JudgeID 2. EventID, EventTitle, Day, StartTime, StopTime. I combined them together in a MySQL VIEW so that when a judge enters the event ID, the event info is combined with their ID into one place. I need the feature of checking for a date/time conflict for each judge. For example:

Judge A registers for an event on Thursday 9:00 - to 11:00
Judge A also tries to register for another event on Thursday 10:30 - 12:30

How do I build a script and/or function that would warn the user they have a time conflict?

Thank you in advance.

aavgeek





Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting Time from Date/Time Navy1991_1 XSLT 2 June 3rd, 2008 12:03 PM
date and time in EST time zone anboss XSLT 1 May 21st, 2008 01:42 PM
date conflict marks20101 Oracle ASP 1 December 7th, 2004 03:16 PM
Check to See if Current Time is between hours mvollmer Classic ASP Professional 5 July 28th, 2004 07:49 PM
insert system date. no date and time jimmy Access VBA 6 November 20th, 2003 01:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.