You must convert "\n" to <br> and spaces to &nbsp; You can use strreplace() or some other function that exist in PHP just for that...

Tommi Virtanen wrote:

Hi!

I have quite simple form (it has textarea input), where I can write for example:

Data    1
Data     2

This is text



So, input contains spaces, linefeeds and so on...

When I make page, which read data from this textarea-field, data came from without
spaces and linefeeds. How to correct this problem?


Regards,

gustavus


-- Miguel J. Jiménez ISOTROL, S.A. (Área de Internet) [EMAIL PROTECTED] TLFNO. 955036800 ext. 111

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to