Jump to content


Photo

Html formatted text inside textarea


  • Please log in to reply
1 reply to this topic

#1 LukosAnthropos

LukosAnthropos
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 18 April 2006 - 04:44 AM

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?

#2 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 20 April 2006 - 05:04 PM

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.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users