Jump to content

[SOLVED] Echo the tags


joshblue

Recommended Posts

 

I have a text file. it contains some text with some html tags.

 

ex

<body>

 

some text...

 

</body>

 

Something like that...

 

My problem is whenever I'm reading the text file and echo it, it didn't display the tags. Well, I know PHP really don't display tags so I'm wondering if there's a way to display the contents of the text file it as it is...

Link to comment
https://forums.phpfreaks.com/topic/166570-solved-echo-the-tags/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.