note 14310 added to function.stripslashes.php

From: Date: Thu, 26 Jul 2001 07:38:43 +0000
Subject: note 14310 added to function.stripslashes.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15859@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) http://www.php.net/manual/en/function.stripslashes.php

« previous php.notes (#15859) next »