Saving html entities in a textarea

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
HiddenS3crets
Forum Contributor
Posts: 119
Joined: Fri Apr 22, 2005 12:23 pm
Location: USA

Saving html entities in a textarea

Post by HiddenS3crets »

I created my own file manager for quick file editing, but I run into problems with html entities

If I put something like < into a file and save it, then reopen it in the textarea, it will display as < instead of <

Why does the textarea do that and is there some sort of code snippet I could you to change it so it doesn't occur anymore? :)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply