string stripslashes ( string str ) is the opposite of addslashes( ): it removes one set of \-escapes from a string. : stripslashes « String « PHP






string stripslashes ( string str ) is the opposite of addslashes( ): it removes one set of \-escapes from a string.

 
<?
    $string = "I'm a lumberjack and I'm okay!";
    $a = addslashes($string);
    print $a;
    $b = stripslashes($a);
    print $b;
?>
  
  








Related examples in the same category