Hey all, I'm using CakePHP to display a database with German to
English translations.  It only has one table in it so I've used
scaffolding to get it up and running, which was working fine until I
noticed that my Comments field is being displayed as a string.

The Comments coloum is of type TEXT in the SQL and when I edit the row
or add a new one I can view it as a TEXT field with the new lines, but
when I view the list view the new lines aren't displayed.

encase I just lost you heres and example:

This is what is displayed in the table list view:  time use -> nach =
after. Going 2 some country -> nach = in.

But I entered the value like:

time use -> nach = after.
Going 2 some country -> nach = in.

The above is how it views if I edit the value.

So I'd like to find out if I can display this with the line breaks.
I'm wondering if its a HTML table issue or how the scaffolding returns
the values from the database.

Has anyone come across this before?

Thanks

Dave


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to