Reply to Re: htmlentities and single quote

Your name:

Reply:


Posted by Geoff Berrow on 01/12/07 16:27

Message-ID: <10d86$45a7b5e7$8259c69c$16834@news1.tudelft.nl> from Rik
contained the following:

>> What would be the best advice for storing HTML data in to a MySQL
>> database?
>
>As HTML data, unedited.
>Just use mysql_real_escape_string() on it before putting it in the INSERT
>query.

I had a devil of a job recently trying to store an html file that had
loads of auto generated JavaScript in it (a crossword puzzle). My
quick and dirty solution was to save it as a file and then simply store
a reference to it. This is fine if you don't want to do any data
processing on the content.

--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

[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

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