Prepared statements in PHP/MySQL protect against:
- SQL injection
- Slow networks
- Battery drain
- Rotation
Answer
A) SQL injection
Parameters are sent separately from the SQL command.
Computer Science MCQ · More Web Services: Accessing and Creating MCQs · Practise