Works OK in my browser. Try it with <br> instead of <br />. After echoing to your browser look at the page source to make sure the <br> hasn't been stripped out by some other process. The only other thing I can think of is CSS but I don't know if that could affect line breaks.
On Jun 18, 12:37 am, Dave <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have a problem. > > I have a string f.ex: > $text = "Lorem Ipsum<br />dolor sit amet"; > > if I echo it like this: > echo $text; > > it will show me: Lorem Ipsum dolor sit amet without line break > > what do I have to do so it breaks the line? or am I doing something > wrong? > > Dave --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
