I have a problem with my PHP file editor.
I made it for friends to be able to edit there sites that I host, but
one friend's site shows coding for people to learn and when he is editing that page it interferes with the PHP Coding of the editor. The editor uses a Textarea that inserts the file contents into it, and the page that is having problems editing, has a textarea which closes the PHP editors textarea.
Because of this me and my friend changed his page to use HTML code to show HTML code. Like the brackets and such. But that then shows up in the editor as brackets so then when you save it, the page executes the code.
This probably isn't very clear, and I don't know what to do!
Tell me if you need the coding for anything.
I made it for friends to be able to edit there sites that I host, but
one friend's site shows coding for people to learn and when he is editing that page it interferes with the PHP Coding of the editor. The editor uses a Textarea that inserts the file contents into it, and the page that is having problems editing, has a textarea which closes the PHP editors textarea.
Because of this me and my friend changed his page to use HTML code to show HTML code. Like the brackets and such. But that then shows up in the editor as brackets so then when you save it, the page executes the code.
This probably isn't very clear, and I don't know what to do!
Tell me if you need the coding for anything.