How many of the following is considered as a special character by ‘mysql_real_escape_string()’? null byte, single quote, backslash

How many of the following is considered as a special character by ‘mysql_real_escape_string()’?
null byte, single quote, backslash
A. 0
B. 1
C. 2
D. 3
 
Answer: d
Explanation: 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’.
 

Tìm kiếm

Back
Top