You are here: Re: htmlspecialchar newbie « PHP Programming Language « IT news, forums, messages
Re: htmlspecialchar newbie

Posted by Auddog on 11/15/06 00:28

I have a project description section on my form and I want to make sure that
anyone who using apostrophe be able to insert the data without causing an
sql error. Is there a better way?

A


"BKDotCom" <bkfake-google@yahoo.com> wrote in message
news:1163543050.263661.222760@i42g2000cwa.googlegroups.com...
>
> Auddog wrote:
>> I'm a little confused on (...) htmlspecialchar.
>
> htmlspecialchar is for ... HTML
> how about using it when creating html?
> Why store special chars in the DB as apposed to plain ol text?
>
> Maybe you're really interested in mysqli_real_escape_string ?
>

 

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

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