|
Posted by bill on 12/25/06 19:00
BKDotCom wrote:
> bill wrote:
>> The problem is that each time the user returns to the form
>> additional \r\n are appended to the entry.
>>
>> I tried using stripslashes() on the data before I put it into the
>> textarea, with no improvement.
>
> dunno where your linefeeds are comming from, but give trim() a shot.
>
thanks
found them, I had used a PHP indent on my development system and
it put two spaces before everything, including the </textarea> so
the prior line's linefeed and those spaces got included in the
textarea = like it or not.
Seems stupid, but when I took them out, no further problem.
bill
Navigation:
[Reply to this message]
|