You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
435 B
23 lines
435 B
4 weeks ago
|
<?php
|
||
|
|
||
|
use App\Wrappers\DatabaseInteractions;
|
||
|
use App\Wrappers\SQLQueryBuilderWrapper;
|
||
|
use App\Wrappers\TwigWrapper;
|
||
|
|
||
|
$db = new DatabaseInteractions();
|
||
|
|
||
|
$tuneDetails = $db->RunOneSelect(
|
||
|
queryBuilder: SQLQueryBuilderWrapper::SELECT_ONE(
|
||
|
table: 'Tunes',
|
||
|
id: $_GET['tune-id']
|
||
|
),
|
||
|
);
|
||
|
|
||
|
TwigWrapper::RenderTwig(
|
||
|
target: "Pages/tune/uuid.html.twig",
|
||
|
arguments: [
|
||
|
"TuneDetails"=>$tuneDetails,
|
||
|
]
|
||
|
);
|
||
|
|