How can i get the date and add a month onto it so i can insert it into a database?
i need it becoz i am making a VIP system for my shop
Cheers.
i need it becoz i am making a VIP system for my shop
Cheers.
| DanielXP wrote: |
| How can i get the date and add a month onto it so i can insert it into a database?
i need it becoz i am making a VIP system for my shop Cheers. |
| Code: |
| INSERT INTO mytable (futuredate) VALUES (DATE_ADD(NOW(), INTERVAL 1 MONTH)) |
| Code: |
| INSERT INTO mytable (futuredate) VALUES (DATE_ADD(NOW(), INTERVAL 28 DAY)) |
| Code: |
| INSERT INTO mytable (futuredate) VALUES (DATE_ADD(NOW(), INTERVAL 1 MONTH)) |
| DanielXP wrote: | ||
Just need 1 month so will
add on a month and put it into the database? |