I'll add: http://library.stanford.edu/tools/tutorials/html2.0/whitespace.html http://www.w3.org/TR/REC-CSS2/text.html#white-space-prop
On Fri, Mar 7, 2008 at 5:01 PM, Joel <[EMAIL PROTECTED]> wrote: > > http://ca.php.net/nl2br > http://ca.php.net/manual/en/function.wordwrap.php > > > > On Mar 7, 4:59 pm, bob <[EMAIL PROTECTED]> wrote: > > In a textarea, how do you retain the spacings and carriage returns when you > > save to the database or output in the view? > > > > for example, if i enter > > "first line > > > > third line" > > > > I want to output to the user keeping all the carriage returns. But right > > now, it just outputs "first line third line" > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
