Created PDO queries instead of MySQLi