You are here: Re: php and mysql escape characters « PHP Programming Language « IT news, forums, messages
Re: php and mysql escape characters

Posted by jamen on 12/11/05 23:12

el chupacabra wrote:
> Everytime I want to enter to a textbox area "it's fun" (no quotes) I get an error.

> Any work arounds on escape characters? How can I have mySQL just take "it's fun" just like that?

$text = mysql_real_escape_string($text_from_form);

now $text should be safe to insert into the sql

 

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

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