newlines won't display in browser

From: Michael Hanna <taojones(at)sympatico(dot)ca>
To: pgsql-php(at)postgresql(dot)org
Subject: newlines won't display in browser
Date: 2003-10-13 02:01:35
Message-ID: 2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hi,

hi, how do you put a newline in a TEXT data type?

when inputting from a form into a textarea box..the return key creates
a newline, which is reflected in psql monitor but not when displaying
the page with php

when I try inputting \n in the browser textarea form, they appear in
the webpage for some reason, in psql monitor, they appear as "\n" but
also make a newline

Michael

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Rod K 2003-10-13 02:36:55 Re: newlines won't display in browser
Previous Message Sebastien Baudry 2003-10-06 08:17:51 Re: How to manipulate a cursor returned by a PL/pgSQL in a PHP