Reply to Re: How to display longtext in <textarea> format

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация