Hello,

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

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

Jump to Post

All 2 Replies

Hi,

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.