Reply to htmlentities and single quote

Your name:

Reply:


Posted by StreetGifts on 01/12/07 15:59

What would be the best advice for storing HTML data in to a MySQL database?

I've tried using 'htmlspecialcharacters' and 'htmlentities' for converting
before storing in to db, but when converting back, am always having issues
displaying the single quote properly ( ' )

I want to be able to save HTML tags & content in to db. Using 'TEXT' as
field type.

Am able to save, retrieve and display back to browser, but am having
difficulties w/ the single ' quote issue

[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

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