T201704041219
This commit is contained in:
15
categories.php
Normal file
15
categories.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: leanderschmedemann
|
||||||
|
* Date: 04/04/2017
|
||||||
|
* Time: 12:14
|
||||||
|
*/
|
||||||
|
|
||||||
|
require_once('includes.inc.php');
|
||||||
|
$db = new Database();
|
||||||
|
|
||||||
|
$categories = $db->query('SELECT "ID", "name" FROM "Categories"')['data'];
|
||||||
|
print_r($categories);
|
||||||
|
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user