Hey there, i am making cPanel to the websites i cr8..
so wanna it easy to the user to edit the texts..
gonna tell u what i have done.
the user have cPanel page...with text form, when he type the text and confirm some script automatic save this text into .txt file....other script in the home page import the text from that.txt file...
its working perfect the problem is if the user wanna add header or some thing..how i make the editor able to make the text head or paragraph or or or?
so what i want is adding some buttons in the text form...when i select word and press on button "HEADER" the codes <h1> </h1> automatic be added beside the selected word?!
and when i press "Break"
Automatic add <br /><hr width="50%" /><br /> ??? and so on??