Jump to content

Archived

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

LukosAnthropos

Html formatted text inside textarea

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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

×

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.