I am trying to print html message: And when I print it out instead of showing the real message it shows me this:

" Ini content baru 2 <br/> <br/> <br/> <br/> "

I wonder how to make it shows the message only without the html codes.

Recommended Answers

All 2 Replies


Can you give more information on what led to the printing of the message? For example, the codes?

Member Avatar

Strip tags? I think we've mentioned on many occasions not to use br for spacing

Be a part of the DaniWeb community

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