40 lines
3 KiB
PHP
40 lines
3 KiB
PHP
<?
|
|
|
|
$key=0;
|
|
$zahl=200;
|
|
//$date = new DateTime('2013-10-04');
|
|
|
|
while($key < $zahl) {
|
|
$typ="11";
|
|
$tag=$date->format('d');
|
|
$monat=$date->format('m');
|
|
$jahr=$date->format('Y');
|
|
/*
|
|
$tour = "1010"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1030"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1040"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1100"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1110"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1120"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1130"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1150"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1190"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1300"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1301"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1350"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1360"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1400"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1901"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1902"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
$tour = "1903"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
|
*/
|
|
$date->modify('+7 day');
|
|
// date_modify($date, '+7 day');
|
|
$key++;
|
|
echo $key;
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|