so I am trying to return all appointments more than 24 hours ahead of time. I'm positive the error in the code is around the DATE_ADD stuff, so I know that the PHP variables are set correctly. I think I am just thinking about DATE_ADD wrong. I have also tried several variations of brackets with no luck. Just CURDATE() works. Thanks for any help!
$sql = " SELECT DISTINCT timeBlocks.date
FROM timeBlocks
WHERE timeBlocks.location = '".$appointmentLocation."' AND timeBlocks.school = '".$_SESSION["school"]."' AND timeBlocks.date >= DATE_ADD(curdate(), INTERVAL 1 YEAR)
ORDER BY timeBlocks.date ASC;";