Posted by Ken on 02/05/06 05:50
Thanks. That will solve it, but why is it there in the first place?
noone wrote:
> Ken wrote:
>
>> What is putting a \ before all single quotes in an input form? Here is
>> an example:
>>
>> Page 1:
>>
>> <form action="page2.php">
>> <input type="text" name="aninput" />
>> </form>
>>
>> page2.php:
>> ...
>> echo $_GET['aninput'];
>> ...
>>
>> If I enter "Bob's place" on page 1, then page2.php will out put
>> "Bob\'s place". What is putting the \ before the single quote? Is
>> there a way to stop it?
>
>
> see:
> http://us2.php.net/manual/en/function.stripslashes.php
>
> M.
[Back to original message]
|