<br> would be better I think in the long run :) Thanks for your help
On Jul 10, 11:51 pm, Geoff Ford <[EMAIL PROTECTED]> wrote: > http://www.w3schools.com/tags/tag_br.asphttp://www.w3schools.com/tags/tag_p.asp > > Explains the difference. > > Geoff > --http://lemoncake.wordpress.com > > On Jul 11, 3:42 pm, mussond <[EMAIL PROTECTED]> wrote: > > > Thanks :), If I put <br> or <p> where I need a new line it will be on > > a newline :) > > > On Jul 10, 8:52 pm, Geoff Ford <[EMAIL PROTECTED]> wrote: > > > > Its a TEXT is not HTML issue. > > > > Text has newlines HTML has <br /> and <p>. > > > > You'll have to move beyond scaffolding to do what you want. > > > > Geoff > > > --http://lemoncake.wordpress.com > > > > On Jul 11, 12:33 pm, mussond <[EMAIL PROTECTED]> wrote: > > > > > 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 -~----------~----~----~----~------~----~------~--~---
