Jump to content

Html formatted text inside textarea


LukosAnthropos

Recommended Posts

Hi Im not sure if this comes under html, mysql or php help, Im inputting some html into a text area, for it to be retrived later and processed as html however, whenever i do this there are a couple of problems, mostly with the fact that < and > are retrieved as &gt; and &lt; anyone know a way arround this?
Link to comment
https://forums.phpfreaks.com/topic/7688-html-formatted-text-inside-textarea/
Share on other sites

The html pre allows the text you input to remain unchanged, which allows you to input html, to where it can be viewed. It sets preformatted text like
<pre><b>Welcome</b> to the <del>wonderful</del><ins>great</ins> world of php</pre>
if you types it without the pre tags the welcome would be bold, wonderful would be crossed out with great beside it, instead it will print out exactly as you see it when you use the pre tags.

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.