Reply to Re: Mysterious \'

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация