I've been trying for about 2 days with 12 hour stretches of time trying to solve this problem and am completely out of energy after not getting anywhere so please help with any information you may have.
Basically, for the website I've built, there is a box which is placed on there which asks the user to enter the date they'd like to book an appointment, and they cannot book this appointment in advance over 3 months. So what I've tried doing is get the date now, then get the date of 3 months in the future then i need to compare the date entered today and make sure it does not exceed 3 months, if it does then an error message is echoed if not a success message is echoed. but every time i have tried this I ended up with nothing. I've even tried converting to seconds using "strtotime" but no luck with anything.
Please specify a simple way of doing this PLEASE!!!