Reply to Re: htmlspecialchar newbie

Your name:

Reply:


Posted by Jerry Stuckle on 11/15/06 01:54

Auddog wrote:
> "BKDotCom" <bkfake-google@yahoo.com> wrote in message
> news:1163551393.118252.128020@h54g2000cwb.googlegroups.com...
>
>>like I said: mysqli_real_escape_string()
>>
>>
>>Auddog wrote:
>>
>>>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 ?
>>>>
>>
>
>
> where do you use this command?
>
>

(Top posting fixed)

http://us2.php.net/manual/en/function.mysql-real-escape-string.php

And please don't top post.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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