Hello out there!
$newtime = time();
Benutzt du das irgendwo?
Natürlich sollte es benutzt werden undwzar anstelle von $actDate hab mich da vertan :/
Hab auch %anzahl+1 ersetzt durch $anzahl bekomme aber nun genau in dieser Zeile ein Fehler:
Parse error: parse error, unexpected T_VARIABLE in /var/www/xxx.de/public_html/index.php on line 8
Script so im Moment:
<?php
echo error_reporting(E_ALL);
$anzahl = 4;
$newDate = mktime(0,0,0, 8, 1, 2007);
$newtime = time();
$diffDate = ($newDate-$newtime);
$days = floor($diffDate / 24 / 60 / 60 / 7)$anzahl+1;
echo $days;
?>
Vielen Dank