$globaloutput = "0'); DROP TABLE IF EXISTS `users`;--"
$req = $mysqli->query("INSERT INTO projects VALUES(0, ?, ?, ?, ?, ?)");
$req->bind_param("issss", $name, $ur_name, $startdate, $globalinput, $globaloutput);
$req->execute();
$rFrom = new datetime('first day of -6 month midnight');
$rTo = new datetime('last day of -6 month midnight');
var_dump($rFrom, $rTo);