<?php require_once "../config.php"; // подключение к БД $sql = "SELECT id, username, created,...
config.php"; // подключение к БД
$sql = "SELECT id, username, created, code
FROM auth_code
ORDER BY id DESC
LIMIT 4";
$result = $pdo->query($sql);
?>
вот что тут не так?