Keep newlines from textarea?..


Posted on 16th Feb 2014 07:03 pm by admin

I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing a textarea for example will strip them out (I think). How do I retain the n's or whatnot and place them into a single string along with the text? will it be too much trouble?

I just want it simple so I can nl2br() it in the end. I don't know what html/PHP does when it POSTS's data from a textarea.

No comments posted yet

Your Answer:

Login to answer
150 Like 43 Dislike
Previous forums Next forums
Other forums

Creating a unique 'control panel' for each user
Hi there,

I'm thinking of designing a site that will allow users to sign up and have their ow

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

Grids not displaying decimals, and behaving differently on different PCs?
Hello,

I coded a relatively simple MII application that allows data from a form to be add

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

Extract text from string
Hi folks,

I have a string that looks like this:

aaaaaaaaaa:
bbbbbbbbbb (ccccccccc)

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

Help Optimizing code
Good Morning,

I wrote a small import function for a website of mine and I know there has to b

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash