You are here: Re: Mysterious \' « PHP Programming Language « IT news, forums, messages
Re: Mysterious \'

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]


Удаленная работа для программистов  •  Как заработать на 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

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