Textarea shows HTML tags
-
Aloha,
I have some annoying problems with the textarea in my new tell-a-friend form (https://www.horseornot.com/tell-a-friend/).
The form complains if the user doesn’t fill out all the fields, so in order to improve usability I have added some code preserve field contents when the page reload.
This works perfectly for the input fields, but my textarea behaves a bit strange. When I reload the page, the textarea shows HTML tags in the text. How do I get rid of those HTML tags?
I have tried to my PHP code in a seperate file (https://www.horseornot.com/abe2.php).
Putting the code in a seperate file makes the textarea behave properbly, so I guess the problem is caused by either WordPress of the PHPExec plug-in (https://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/).
Thank you, Mads
- The topic ‘Textarea shows HTML tags’ is closed to new replies.