Posted by noone on 02/05/06 05:48
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.
Navigation:
[Reply to this message]
|