addslashes

Definition

string addslashes ( string $str )

Description

Returns a string with backslashes before characters that need to be quoted in database queries etc. These characters are single quote ('), double quote ("), backslash (\) and NUL (the NULL byte).

[More at php.net]

Parameters


loading


Share/bookmark - addslashes


Global comments