← All tasks
🧮
Beginner

Write a Parameterized Query to Prevent SQL Injection

⏱ 3 min ⭐ 90 XP 🔁 3 attempts allowed

What you'll do

Write the PHP/PDO expression that safely queries a user by email using a parameterized statement.

Scenario

A login lookup currently concatenates user input directly into SQL and needs to be fixed.

Ready to try it?

Create a free account and subscribe to take "Write a Parameterized Query to Prevent SQL Injection". Earn 90 XP and track your internship progress.

Already have an account? Sign in