calendar dates and hours compare problem

Posted on 16th Feb 2014 by admin

i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same date, time and room without receiving any error i don't know where to start to compare the days hours with location (the 2 different tables are confusing me) i'm willing to donate/pay if i can make this work. To explain better i have like this:
Table1 with: Start Date, End Date, Start Hour, End Hour and other things not important for validation
Table2 with: Room1, Room2, Room3 etc

i attached the source code

Other forums