mirror of
https://github.com/RustyRaptor/Culidore.git
synced 2026-12-03 15:15:20 -07:00
21 lines
342 B
PHP
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);
|
|
?>
|