itskp-odense/Backend/controller/edit.php

11 lines
151 B
PHP
Raw Normal View History

2021-06-02 11:27:13 +00:00
<?php
require "../../bootstrap.php";
use Backend\Model\Post;
if(isset($_GET['id'])){
$id = $_GET['id'];
$post = Post::query()->find($id);
}