Jump to content

Update date in table


andre3

Recommended Posts

Hi guys. i am doing a  referal thing, where members that refer 5 persons get  6 months free added to there expire  date in the database,  i have a field in the members table called: Expire it looks like: 2009-06-30, i know how to update the date so that they get a extra 6 months if their expire date is equal to 6 or less than, but when it reaches 7 months thats when i have a problem. because i wud ofto update the year and the month :( can any one make a suggestion ? please thanks

Link to comment
https://forums.phpfreaks.com/topic/133587-update-date-in-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.