PHP stripcslashes() Function
Complete PHP String Reference
Definition and Usage
The stripcslashes() function removes backslashes added by the addcslashes()
function.
Syntax
| Parameter |
Description |
| string |
Required. Specifies the string to check |
Tips and Notes
Tip: This function can be used to clean up a string retrieved from a
database.
Example
<?php
echo stripcslashes("Hello, \my na\me is Kai Ji\m.");
?>
|
The output of the code above will be:
|
Hello, my name is Kai Jim.
|
Complete PHP String Reference
The Creators of XMLSpy are Pleased to Announce
|