note 22158 added to function.stripslashes
| From: | php dot net at schou dot dk | Date: | Sat, 08 Jun 2002 15:56:14 +0000 |
| Subject: | note 22158 added to function.stripslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31603@lists.php.net to get a copy of this message | ||
Example of usage:
<?
if (!$a) $a = "a\\b'c\"d";
$a = stripslashes($a);
?>
<form action=<? echo $PHP_SELF ?> method=post>
<input type=text name=a value="<? echo htmlentities($a) ?>">
<input type=submit name=submit value=Submit>
</form>
--
http://www.php.net/manual/en/function.stripslashes.php
http://master.php.net/manage/user-notes.php?action=edit+22158
http://master.php.net/manage/user-notes.php?action=delete+22158
http://master.php.net/manage/user-notes.php?action=reject+22158