Hello.
Ive just rgistered in this site, honestly its really great and helpfull, in meanwhile iam coding a php script that will enter a form post into MYSQL table predefined fields in a way of the following:
Post date:
-------------
$day=date(d);
$month=date(m);
$year=date(y);
$count = cal_days_in_month(CAL_GREGORIAN, $month, $year);
$fulldate = "$count,$month,$year";
- The upper code will be entered in mysql table field as follows: 29,02,08
- Now the main interesting part is that how i can, for example to calculate + 3 days begin from the given day, ive try the following with no luck.
$expire=$fulldate+3;
The following giving me if the post date is 29, then expire date: 32,02,08 since February is 29 days. So all i need is how i can do in order of if the post date is 29 it jump automatically to March 3
Any code example help would be fine and thankful to my email:
kegham@protechzone.com. In case this post not in its required section sorry for it. :roll: