PHP: 07 - Escaping Characters
Escaping characters for SQL statements
These need escape slashes to be included in a string
-
Quote(‘)
-
Double Quote (”)
-
Backslash( \)
-
NUL(NULL Byte)
UPDATE… “That’s all” = “That’’s all”
-
Two single quotes will be entered in the SQL statement(phpMyAdmin) or will be required if driven by code
