D
D
Dreaded2018-05-21 22:11:15
PHP
Dreaded, 2018-05-21 22:11:15

How to implement date-based events on the site?

I am currently studying web development and I have a question.
Let's say I have records on my site that I store in the MySQL database. Each record has an expiration date. When it expires, the entry must be deleted.
Or another example - I have a database with the date of birth of users, and I want to congratulate them on their birthday in a timely manner by sending them an email, for example. How is it implemented? Where to read on this subject?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2018-05-21
@Rsa97

For example, through cron.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question