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; } ?>