Fairly new to PHP but in the middle of building an admin panel for a booking system. Just a question for the future.
Lets say a user has not confirmed their booking. When 20 days remain say until their start date I would like a PHP to trigger that sends them out an email and alters some text on their account.
All this I know how to do if I bring up a page that queries on those basise.
How would I just get the server to do that automatically. So rather than me or the user go to their booking and it to trigger the PHP script for the server to simply execute it at a certain time anyway.
Any ideas?
Marvellous