Definition: The function stripslashes is used to remove backslashes from data. One use for this function, is to display data to which addslashes has been applied. What this means is that stripslashes would change I\'m hungry into I'm hungry.
Also Known As: Strip Slashes, Remove Slashes
Examples:
<?phpThis would output the string: Hello, I'm Billy
$greeting = "Hello, I\'m Billy";
print stripslashes($greeting);
?>
<?phpThis would output the string: Who said "Live long and prosper"?
$said = 'Who said \"Live long and prosper\"?';
print addslashes($said);
?>

