deleting crumbles

master
snowflake 2 years ago
parent bffbe34c6e
commit 7d819c580d

@ -17,13 +17,12 @@ if(!is_null($title)){
$conn = $pdo;
try {
$sql = "INSERT INTO article ( title, body ) values ( '$title', '$body' );";
echo $sql;
$conn->exec($sql);
} catch (PDOException $e) {
echo "Error in $from: Not Found";
}
}
//header("location: ../insertWhat.php");
header("location: ../insertWhat.php");
?>
<!DOCTYPE html>

@ -30,7 +30,7 @@ if(!is_null($name)){
echo "Error in $from: Not Found";
}
}
// header("location: ../insertWhat.php");
header("location: ../insertWhat.php");
?>

@ -24,7 +24,7 @@ if(!is_null($name)){
echo "Error!";
}
}
// header("location: ../insertWhat.php");
header("location: ../insertWhat.php");
?>
<!DOCTYPE html>

@ -2,4 +2,4 @@
session_start();
print_r($_GET);
//header("location: index.php");
header("location: index.php");

@ -22,7 +22,7 @@ $title = "LATEST Breweries";
$where = "5";
$what = "brewery";
$array = listLatestBreweries($pdo, $where);
$array = listBeersByBreweryNAN($pdo);
require("sidebar/sidebarLister.php");

Loading…
Cancel
Save