"Here's a query I wrote: $pdo->query("SELECT * FROM users WHERE username = '" . $_GET['user'] . "'"); I know this is unsafe. Rewrite it using a PDO prepared statement, and then explain, using a concrete malicious example value for $_GET['user'], exactly how the original version could have been exploited."
