Hi CF guys,
I have a textarea form on my page...and I made my textarea field like an Editor for my content to be able modify(font,headings,alignment etc).
But when I'm about to insert it to my DB table, insert won't continue.
I've set my table column as LongText data-type....
I made some testing and debugging and found out that the problem is the generated code produced by my text editor. IS there any possible solution on this one? I badly needed to use the Text Editor and save values into my Database.
Any help or suggestions?
BTW...I used the Tiny MCE and the ckeditor =)
Thanks!
Nope I'm not gettin any error. And I found that the html generated code were not completely saved into my table column.
For example, the generated html code were :
[code]
<h3 style="color:blue;">
Marriott to open first Sri Lankan property</h3>
<p>
<br />
<strong>After</strong> signing an agreement with Weligama Hotel Properties Ltd, the Marriott Hotels & Resorts brand plan to open their first Sri Lankan hotel.</p>
[/code]
When I actual checked my table-column on the DB, only the
[code]
<h3 style=
[/code]
were saved.
That's the reason when I output the value on the page, the display is blank.
Any suggestions or help?
Thanks.
North America
Europe, Middle East and Africa
Asia Pacific