You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
452 B
PHP
21 lines
452 B
PHP
<?php
|
|
session_start();
|
|
require_once("model/db.php");
|
|
require_once("controller/getRecord.php");
|
|
|
|
require("view/header.php");
|
|
|
|
$record = getRecord($pdo, "beer", $_GET["id"] );
|
|
$title = $record["name"];
|
|
$alc = $record["alc"];
|
|
$ibu = $record["ibu"];
|
|
$description = $record["description"];
|
|
$brewery_id = $record["brewery_id"];
|
|
$date = $record["time"];
|
|
|
|
|
|
require("view/mainContent/mainContent.php");
|
|
|
|
require("view/sidebar.php");
|
|
|
|
include("view/footer.php"); |