04-10-2011, 11:50 AM
|
#4 (permalink)
|
|
The Acquainted
Join Date: Nov 2009
Location: nr Stratford-Upon-Avon
Posts: 137
Thanks: 3
|
Maybe I should have read your post properly first :D
this may help using my method
PHP Code:
for ( $counter = 0; $counter <= 190; $counter += 1)
{
$next_day = mktime(0,0,0,date("m"),date("d")+$counter,date("Y"));
$new_date = date("Y-m-d", $next_day);
mysql_query("INSERT INTO ddate (id, ddate) VALUES('', '{$new_date}' ) ") or die(mysql_error());
}
__________________
Thanks... Simon
Sex, Drugs & Linux Rules
|
|
|