1. Home
  2. MCQs by exam
  3. NTS

NTS MCQs · Page 212

5,604 multiple choice questions typical of the NTS exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 5276–5300 of 5,604

What is the most effective way to prevent SQL injection when querying MySQL from PHP?

  1. PDO prepared statements Correct answer
  2. Escaping quotes with addslashes()
  3. Hiding error messages from users
  4. Converting all input to uppercase
MCQSEXAM Read explanation