Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require __DIR__ . '/../autoload.php';
- if (isset($_GET['id'])) {
- $id = $_GET['id'];
- $news = App\Models\Article::findById($id);
- require __DIR__ . '/../templates/article_template.php';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement