I'm creating a system for controlling my users purchase. I'm saving date like this in my SQL: d.m.Y H:i I want to add expired date after 1 - 3 and 7 days. Example:
Creating date: 14.03.2018 05:54 End date: 17.03.2018 05:54
I want to add this days (1-3-7) after the first date automatically. I tired many codes from stackoverflow but it's doesn't work.
Thanks.