PHP3 Manual
PrevNext

AddSlashes

AddSlashes -- quote string with slashes

Description

string addslashes(string str);

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

See also stripslashes() and quotemeta().


PrevHomeNext
String functionsUpChop