You are here: Re: Correct us of mysql_real_escape_string() « PHP Language « IT news, forums, messages
Re: Correct us of mysql_real_escape_string()

Posted by iktorn on 03/23/07 20:25

Simon Harris napisał(a):
> Hi All,
>
> I am using mysql_real_escape_string() on strings before they are entered
> into mySQL. This has worked Ok, but when I get the information out,
> single/double quotes are preceeded with a \ (Escaped) so,
> "Something in quotes" becomes \"something in quotes\"
>
> Any help/suggestions muchly appreciated!
>
> Simon.

check magic_quotes_runtime in your php.ini - is it turned on?

--
Wiktor Walc
http://phpfreelancer.net

 

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

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