πŸ“Š PHP
Q. Which SQL injection prevention technique is recommended in PHP?
  • (A) Escaping input manually
  • (B) Prepared statements
  • (C) String concatenation
  • (D) Input trimming
πŸ’¬ Discuss
βœ… Correct Answer: (B) Prepared statements

Explanation: Prepared statements with bound parameters are the best way to prevent SQL injection.

Explanation by: Rati Dubey
Prepared statements with bound parameters are the best way to prevent SQL injection.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
23
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
88%
Success Rate