Re: [PHP] stripped \n

[email protected] (Daniel Brown)
Newsgroups php.general
Message-ID <CAD9cneMXMqTdezKbO7g+Gz6GdiLMzoV4omzjqszC8CdgDq2_NQ@mail.gmail.com>
On Wed, Feb 20, 2013 at 1:32 PM, Matijn Woudt <[email protected]> wrote:
>
> An input with type=text is used for single lines, so yes, newlines get
> stripped.
> Either use a textarea with style="display: none", or store the data in a
> session instead.

    Or at least <input type="hidden"/>.

-- 
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.