Edit dashboard.php via Editor
This commit is contained in:
parent
27e631c514
commit
e95b5c1b6e
@ -1,4 +1,11 @@
|
||||
<?php
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
session_start();
|
||||
header("Content-Type: application/json");
|
||||
|
||||
session_start();
|
||||
header("Content-Type: application/json");
|
||||
|
||||
@ -12,7 +19,7 @@ if (!$userId) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$stmt = $pdo->prepare("
|
||||
$stmt = db()->prepare("
|
||||
SELECT id, title, status, created_at, updated_at, final_video_url
|
||||
FROM projects
|
||||
WHERE user_id = ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user