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).

declaration of addslashes

string addslashes ( string $string )

test addslashes online

share addslashes

comments for addslashes

be the first

No comments so far for addslashes(). Leave yours as first below.


Leave your comment