Posted by Martie on 02/22/06 19:40
In article <462og3F8pgj3U1@individual.net>, J.O. Aho says...
>
>mannerboy wrote:
>> you can use urlencode() to encode the data and store into the db,and
>> urldecode() while fetch it :)
>>
>
>HTML don't care about whitespaces, so the output would still not look as
>"noone" wished it to look like. Storing data in the db using urlencode will
>make it more difficult to search for it.
>
>
> //Aho
I think you can use the wrap and col settings in your <textarea> tag to preset
where the line breaks will occur at. If you have wrap set to physical, I think
that would preserve the newline characters if those are being stored in the db.
Martie
--
Newsguy BonusBytes! - Monthly rewards just for being a member!
http://newsguy.com/bonusbytes.htm
[Back to original message]
|