50% complete "sql_query to PDO".