define(USER__ID, isset($_COOKIE['id']) ? $_COOKIE['id'] : '');
$data = $db->getAll('SELECT * FROM `projects` WHERE `user` = ?i', USER__ID);
Warning: Use of undefined constant USER__ID - assumed 'USER__ID' (this will throw an Error in a future version of PHP) in C:\Users\dfrolov\Desktop\OpenServer\OSPanel\domains\poster\system\prolog.php on line 27