Problem Statement
What is SQL injection and how can it be prevented in PHP?
Explanation
SQL injection occurs when untrusted input is directly used in SQL queries, allowing attackers to manipulate database commands. It can be prevented using prepared statements, parameter binding, and input validation before executing queries.
