print data to website
This commit is contained in:
@@ -1 +1,7 @@
|
||||
<?php
|
||||
require_once "../../../bootstrap.php";
|
||||
use Backend\Models\GameJam;
|
||||
|
||||
$dbValue = GameJam::all()->toJson(JSON_PRETTY_PRINT);
|
||||
header('Content-Type: application/json;charset=UTF-8');
|
||||
echo $dbValue;
|
||||
Reference in New Issue
Block a user