Hi Alle!
Wie mache ich hieraus einen Befehl?
Danke schon mal.
$wkLife = $wkLife*3600*24;
$sql = "DELETE
FROM besucher
WHERE (UNIX_TIMESTAMP(now())- UNIX_TIMESTAMP(zeit)) >".$wkLife;
$result = mysql_query($sql,$dbConnection);
$sql = "DELETE
FROM warenkorb
WHERE (UNIX_TIMESTAMP(now())- UNIX_TIMESTAMP(warenkorb)) >".$wkLife;
$result = mysql_query($sql,$dbConnection);