> 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:
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
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
3 matches
Mail list logo