• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text field from the database is being truncated when sent to view

I have an odd problem. I store the page content in a MySQL database, and the users edit the content using TinyMCE WYSIWYG editor. The controller selects the appropriate row from the table for a page, and sends the stored HTML code to the view.

This has worked fine for over a year.

I've had to create a very large page, and now the view used for the public facing page is truncating some of the content. Yet the WYSIWYG editor still shows all the content after I've saved it and gone back to edit the same page in the administration side.

The public facing view is simply:

<? foreach ($query->result() as $row) { ?>
&lt;? } ?&gt;

Any help appreciated.

[eluser]Eric Barnes[/eluser]
View the data in the db and confirm it is not truncated.

only one record is truncating ?
you should check the truncated record and let us know what's in it

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.