Via PHP code, you could also process the data through PHP's nl2br() function, which inserts <br /> tags prior to the newline (the newline is not removed). Hopefully you're already processing and filtering the user data anyway.
On Oct 7, 7:33 pm, Cody Sortore <[EMAIL PROTECTED]> wrote: > Okay, I know I sound like a complete n00b right now, and that's fine > because I am. I've really only made applications for myself so far so > putting in <br /> tags is no problem... but now that I'm trying to > make something for other people to use how to I make it so that when > they hit "enter" it will automatically put in a <br /> tag for me? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
