You are here: Re: Proper Way To Store, Retrieve Text To/From PostgreSQL « PHP Programming Language « IT news, forums, messages
Re: Proper Way To Store, Retrieve Text To/From PostgreSQL

Posted by Alfred on 02/14/07 04:02

On Feb 13, 6:40 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> First of all, htmlentities() is for displaying data in html - not
> storing in the database.
>
> Then use pg_escape_string to encode your data and store it in your
> database. Retrieve it then use htmlentities() to display the data.

Thanks, didn't know about that one. I'll give it a try.

 

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

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