Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textarea in Textarea

Status
Not open for further replies.

altendew

Programmer
Mar 29, 2005
154
US
Hi I am currently using a textarea to let me users edit their htmlcode, the only problem is, if they have </textarea> in their code.. it will break it.. is there a way to fix this?

Maybe you know of some other tags that will break my textarea?

I am using php for my sites, any help would be greatly apprciated.

Andrew
 
Look into [blue]htmlentities()[/blue] in the PHP online manual.

I'm sure its what you are looking for.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
You're welcome.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top