Looks like something in your script is converting to HTML.  Line breaks are
converted to <BR> for display as HTML.  To re-enter into a text box you'll
have to convert the <BR> back into crLF.

"Jack" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
> I had made a page for edit which contains Input box, but the Input box is
> not blank, i had used the php script to make the input box use the last
> input text as the default value.
> The problem comes out like this, when i input the text into the input box
on
> the first time, it just works fine (it copy my heading to a file called
> "Heading.txt" and the content to a file called "Content.txt", then when i
> click a link , the heading and the context from these file will be display
> nicely.), but  when i go back to the page for edit on sec time, i can see
> there is a lot of <BR> in the input box, as much time i submit to the
input
> box, the more <BR> will come out and display in the box.
> So is there anyway that i can skip the <BR> appear in my input box???
> The input box is actually read the content from the heading and
content.txt
> file.
>
> Thx
> Jack
> [EMAIL PROTECTED]
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to