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.
17 lines
365 B
PHP
17 lines
365 B
PHP
<?php
|
|
session_start();
|
|
require_once("model/db.php");
|
|
require_once("controller/getRecord.php");
|
|
|
|
require("view/header.php");
|
|
require("view/sidebar.php");
|
|
|
|
$record = getRecord($pdo, "article", $_GET["id"] );
|
|
$title = $record["title"];
|
|
$description = $record["body"];
|
|
$date = $record["time"];
|
|
|
|
|
|
require("view/mainContent/mainContent.php");
|
|
|
|
include("view/footer.php"); |