I've looked at several solutions from various search engines, but I haven't found one that has worked just yet. I have a textarea that is displaying a php variable in it. Instead of linebreaks, it simple shows <br />'s, everywhere. I tried replacing them with /n's and various other things, but I haven't had any luck.

Is there an easy solution? This one little issue is holding me back tremendously.

Thank you in advance,

Resentful

Try using '\n' instead of '/n'

Try using '\n' instead of '/n'

My bad. That's what I used. I just typed it wrong. When I did that, it did the line breaks, but the <br />'s stayed.

Oh, maybe include the code so we can see and try to help

I fixed it myself.

Thank you for the help.

No problem, just out of curiousity (and for my future reference) what did you have to do?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.