Re: text editor
| From: | Tom Rogers | Date: | Tue, 29 Mar 2005 01:54:37 +0000 |
| Subject: | Re: text editor | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211743@lists.php.net to get a copy of this message | ||
Hi,
Tuesday, March 29, 2005, 9:17:42 AM, you wrote:
TT> Hi all,
TT> ok, I have created my own php text editor that allows a user to edit
TT> files from local(server) disk.
TT> I use a basic html textarea to show the contents of the file, and let
TT> them edit it, and then save it to disk.
TT> I've just realized that when editing an html file, that everything is
TT> ok, unless the file has a textarea tag in it. Then the editing textarea
TT> tag gets closed, and you end up not getting all of the data to save.
TT> Any way to work around this and still use simple forms ?
TT> Thanks,
TT> Tim.
What I have done in the past is convert <textarea to <text_area and
then do the reverse when the form is submitted
--
regards,
Tom