Home » MYSQL » Mysql Compound Statements » Question
  1. How many of the following is considered as a special character by ‘mysql_real_escape_string()’?
    null byte, single quote, backslash
    1. 3
    2. 2
    3. 1
    4. 0
    5. None of these
Correct Option: A

The characters that ‘mysql_real_escape_string()’ considers special are the null byte, single quote, double quote, ‘backslash’, ‘newline’, ‘carriage return’ and the ‘Control-Z’.



Your comments will be displayed only after manual approval.