Q. How can you prevent SQL injection in PHP?
β
Correct Answer: (A)
Use prepared statements
Explanation: Prepared statements prevent SQL injection by separating data from code.