DF340
DF340

Reputation: 15

How do I display HTML entities as text?

I'm building an ASCII binary decoder. I need to know how to show an HTML entity such as &#035 ; as text in an HTML document instead of the character it corresponds to.

Upvotes: 0

Views: 2457

Answers (1)

Levan Lotuashvili
Levan Lotuashvili

Reputation: 841

I think, you are about htmlentities() function in PHP

PHP manual about htmlentities()

Upvotes: 1

Related Questions