RE: [PHP] read and modified getting data

2004-02-23 Thread Jason Merrique
> From: "Miguel J. Jiménez" [mailto:[EMAIL PROTECTED] > You must convert "\n" to and spaces to   You can use > strreplace() or some other function that exist in PHP just for that... nl2br() should do that. Usage: nl2br($foo) $foo is your textarea variable. -- PHP General Mailing List (http:

Re: [PHP] read and modified getting data

2004-02-23 Thread Richard Davey
Hello Tommi, Monday, February 23, 2004, 10:25:10 AM, you wrote: TV> So, input contains spaces, linefeeds and so on... TV> When I make page, which read data from this textarea-field, data TV> came from without spaces and linefeeds. How to correct this TV> problem? The characters will still actua

Re: [PHP] read and modified getting data

2004-02-23 Thread "Miguel J. Jiménez"
You must convert "\n" to and spaces to   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: Data1 Data 2 This is text So, input contains space

[PHP] read and modified getting data

2004-02-23 Thread Tommi Virtanen
Hi! I have quite simple form (it has textarea input), where I can write for example: Data1 Data2 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 thi

[PHP] read and modified getting data

2004-02-23 Thread Tommi Virtanen
Hi! I have quite simple form (it has textarea input), where I can write for example: Data1 Data2 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 thi