v0.0.5 Made edit and update

This commit is contained in:
Victor
2021-06-02 13:27:13 +02:00
parent 23a81e1925
commit 636672d8f2
5 changed files with 89 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
require "../../bootstrap.php";
use Backend\Model\Post;
if(isset($_GET['id'])){
$id = $_GET['id'];
$post = Post::query()->find($id);
if($post){
echo $post;
}
}