Why is my nl2br() function displaying \r instead of a break(<br />)? PHP
- by ggfan
When I use the function nl2br($text) it doesn't display the breaks I want it to but instead shows the \r of where the breaks are to be. I am display a confirmation page for a user that shows the detail they entered in the form.
Detail: this \r\nis what\r\ni want\r\n\r\n\r\nd