0

hello again!well...I'm developing a Content Management System and I have a form where the user write a text then i'll store this text in my database and i'll write it on a page using the "echo",I store the text with the html tags like: <p> blablabla</p>.but the user doesn't know html!can i add a special text field that replace the normal charachters into html characters?i mean,user will write normally but the textfield will add the html tags in the text! thanks in advance!

2
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by jhonnatas
0

hi philip435 thanks for the asnwer!well.. i think there are some text editors that may do that!i want u to recomend me one! can u do that? is there any text editor that do that?

0

yes! i heard about tinymce but never texted it! i want to know if i type:
blablablabla
blablabalbal

it will convert into:
blablablabla</br>
blablabalbal</br>

replacing automaticly the "enter" into </br> tag!
then i can save it on database
and when i retrive it i have already the formatted text! thanks!!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.