if ($current_date == $db_date) { mysql_query("DELETE FROM `table` WHERE `id`='$id_user'"); header("Location: lala.html"); }