<?php
include "db.class.php";
$db = new db();
if (isset($_GET['done'])) {
    $date = date('Y-m-d H:i', strtotime("+ 2 hours"));
    $db->update("fuel_movement",['status','date_time_closed'],['DONE',$date]);
}
?>




<? if (isset($_GET['submit'])) { ?>
   DONE
<? } 