Tutorial on creating a text file editor in php?

Am sure I saw this in one of the SP books, but can’t locate it now :frowning:

Anyone know of a reasonable tutorial for creating a php text editor with a few buttons for bbcode style replacements?

Not after anything complex :nono:

That would be Javascript not PHP. PHP can take the content of the textarea after the form is submitted but the actual function of it would be Javascript.