Months...Problem..
| From: | Dhaval Desai | Date: | Sat, 13 Jan 2001 07:11:02 +0000 |
| Subject: | Months...Problem.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34350@lists.php.net to get a copy of this message | ||
Hiee!
I am having a problem with months...count in a mysql
database..
See what I want is
1st column will have the current date..
2nd column will add 7 to the current date and store
it.
This will be for all the 12 months..
So I want the things to happen automatically..I mean
one script which will check the months and
automatically show output in html page where one
columns as :
Date when entry was made.
Second Column
Date when it expires = [Date when entry was made + 7]
I really got confused..with this one..Coz When I get
current date for the month of January as 30, the
expire date becomes... 37.
LOL [not logical,,perhaps bad programming on my part];
Help me out please..
Thanx!
Dhaval Desai
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/