How to use stripcslashes in PHP

In this article I will explain how stripcslashes function used in PHP.
  • 1461

stripcslashes() Function

This function removes backslashes.

Syntax

stripcslashes(string)

 

Parameter Description
string Required. Specifies the string to check.

Example

<html>
<body>
<?php
echo stripcslashes("Hello, \Dine\sh sir J\i.");
?>
</body>
</html>

 

Output

 stripcslashes-php.jpg

You may also want to read these related articles Click here

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.