Hi Jack,
The 'black box' you see is a newline, which can be removed by doing this:

That will replace \n (The newlines) and \r (The returns) with nothing,
getting rid of your problem. Hope this helps,
Jack <[EMAIL PROTECTED]> wrote in message
> Dear all
> I'm writing a script which will greb the data from a user input form into
> text file (txt file), but the problem is that when the data had passed to
> the txt file, there will be some thing like the <br> and black square
> inside the file. This is affecting to display the data from that txt file
> the text box in (input box).
> Is there anyway that i can do to avoid grebing the <br> from txt file to
> input box's value? or anyway that i can delete the <br> when the data is
> greb from input box to txt file??
> Thanks a lot
> Jack

PHP General 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