Mysql
 sql >> Base de données >  >> RDS >> Mysql

inverser mysql_real_escape_string

Qui a dit ?

$keyword = "TEST'TEST";

$result1 = mysql_real_escape_string($keyword);
echo $result1 --> TEST\'TEST

$result2 = nl2br(stripslashes($result));
echo $result2 --> TEST'TEST