Re: Editing in a text area field

From: Date: Sat, 10 Jan 2009 16:04:24 +0000
Subject: Re: Editing in a text area field
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-285966@lists.php.net to get a copy of this message
tedd wrote:
At 2:19 AM +1100 1/11/09, Ross McKay wrote:
On Sat, 10 Jan 2009 09:58:24 -0500, tedd.sperling wrote:
Never store any html whatsoever in a database. HTML is presentation and is NOT data.
Except when HTML is data, e.g. CMS. And it's better to let people input that using something like TinyMCE than to let them put in <b> tags themselves and forget to close them. --
The argument over what HTML is, will never be resolved. I say it's a delivery mechanism and tags such as <b> and <i> are unwanted elements. They simply confuse/blur the purpose of the language. Cheers, tedd
HTML is a markup language used to describe the structure of a document; presentation of HTML is controlled by either a client, with optional instructions via attributes (bad) or css (good)

« previous php.general (#285966) next »