Home >Backend Development >PHP Tutorial >Analysis of the difference between addslashes() and addclashes() functions in PHP
output:
output: Who's John Adams? This is not safe in a database query. Who's John Adams? This is safe in a database query.For the functions addslashes() and addclashes(), there are corresponding methods for removing backslashes, namely: stripcslashes function and stripslashes function. Friends who are interested can also study it. |