Files
Culidore/test/fixprobleem.php
2017-03-14 12:57:44 +01:00

21 lines
342 B
PHP

<?php
include('db.php');
session_start();
// maak recept aan
$sql = "Update Problemen set Bugfix=1 where id=".$_POST['probl'];
$result = mysqli_query($conn, $sql);
// terug naar index pagina
if($result){
header("location:problemen.php?l=1&prob=f");
}
else
{
header("location:problemen.php?l=1&prob=nf");
}
mysqli_close($conn);
?>