note 14310 rejected and deleted from function.stripslashes.php by zak
| From: | zak@php.net | Date: | Thu, 26 Jul 2001 08:03:19 +0000 |
| Subject: | note 14310 rejected and deleted from function.stripslashes.php by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15861@lists.php.net to get a copy of this message | ||
Hi,
I have a problem here,
I have a admin form on my site and I use the value='.$string.' comand to preload the
content on my form.
The problem is that $string contains sometimes a ' in it. I use stripslashes to remove the but
my string is cut where my ' is.
For ex if I have in my string "Gigot d'agneau", it will show on my form "Gigot
d".
Anyone knows haw to solve this?
Thanks
Guillaume.(sorry for bad english)