abstract:Magic quotes is a controversial feature of the PHP scripting language, wherein special characters are prefixed with a backslash before being passed on. It was introduced to help newcomers write functioning SQL commands without requiring manual escaping.