can you explain how it work? we just need to change the day? ex. DATE_ADD(NOW(), INTERVAL 1 DAY) for 1 day and DATE_ADD(NOW(), INTERVAL 3DAY) for 3 days?i use DATE_ADD(NOW(), INTERVAL 1 DAY)
I rather used MYSQL Lines because im putting it on the databasecan you explain how it work? we just need to change the day? ex. DATE_ADD(NOW(), INTERVAL 1 DAY) for 1 day and DATE_ADD(NOW(), INTERVAL 3DAY) for 3 days?
oh i get it, thanks. i cant seem to make it work. setting up an array for 1 , 3 , 7 days whenever the item call func a 3 day it will activate the 3 days.I rather used MYSQL Lines because im putting it on the database
If you want to add +3 Days it should be like this DATE_ADD(NOW(), INTERVAL 3 DAY)
We use essential cookies to make this site work, and optional cookies to enhance your experience.