|
|
PHP stripslashes Function
|
Tutorials » Php »
|
Topic |
What is stripslashes Function?
|
|
Explanation |
|
In PHP this function is used to un-quote string quoted with addcslashes.
Syntax:
stripslashes(string)
In the above syntax "string" is the text with backslashes to be cleaned up of backslashes.
Example:
<?php
echo stripslashes("Where\'s HIOX INDIA located?");
?>
Result:
Where's HIOX INDIA located?
In the above example the backslash, before the quote is removed and the string is displayed.
|
|
A Note |
Learn PHP programming language tutorial with simple and neat example. Hope you enjoy this free tutorial.
Do give us your valuable feedback and suggestions on this online tutorial. This is a Copyright Content.
|
|
|
|