Organize scattered PHP files into scripts/ and tests/ directories
This commit is contained in:
7
scripts/check_items.php
Executable file
7
scripts/check_items.php
Executable file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
require '../vendor/autoload.php';
|
||||
require '../config.php';
|
||||
= App\Database\Database::getInstance();
|
||||
= ->query('SELECT id, name FROM items');
|
||||
= ->fetchAll(PDO::FETCH_ASSOC);
|
||||
print_r();
|
||||
Reference in New Issue
Block a user