Write the PHP/PDO expression that safely queries a user by email using a parameterized statement.
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