Forum Moderators: open

Message Too Old, No Replies

saving code into mysql

database design issue

         

generic

6:55 pm on Mar 8, 2008 (gmt 0)

10+ Year Member



Hi,

I'm working on a little custom cms using tinymce as a wysiwyg control. The content added into the db will generally be news articles and event information and what not - nothing too big.

As far as designing the db itself, what would be the ideal mysql field type to use for loading xhtml into a database from tinymce (which is essentially a textarea form field).

Thanks in advance,

gen

badone

9:08 am on Mar 24, 2008 (gmt 0)

10+ Year Member



Assuming your DB is MySQL, I believe TEXT.

Cheers,
badone