PDO method in list.php