|
Posted by NC on 10/26/05 03:31
Michel Beaussart wrote:
>
> I created a form with a textarea. The form is processed by a php script
> (nothing special about it, open file, write, close file).
> The csv file obtain is nice .. exception made of a couple of line that seems
> to be broken in the middle making the csv file impossible to be processed.
> I do not know whare to start to have clean nice lines each time.
> The intermitence of the problem is making it difficult for me (newbie in php
> and web dev) to narrow down.
Most likely, you defined your TEXTAREA with a non-standard wrapping
attribute (wrap=hard), so the user's browser inserts end-of-line
characters when lines wrap... Get rid of this attribute and/or
increase the width of TEXTAREA (the cols attribute).
Cheers,
NC
[Back to original message]
|