Frank Schneider Posted 13 hours ago Posted 13 hours ago (edited) I'm currently struggling to find a PHP code to check room occupancy in a template. Based on a date range, I need to check if a room is already booked. Does anyone have a working code? folgendes reicht nicht: $selector.=",datum<=".$id->datum.",datumbis>=".$id->datumbis; Already booked: z.B. 13.08.2025 - 04.12.2025 Checks: 12.08.2025 - 01.10.2025 no problem problem: 01.07.2025 - 03.12.2025 problem: 01.10.2025 - 01.01.2026 Edited 13 hours ago by Frank Schneider
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now