newlines won't display in browser - Mailing list pgsql-php

From Michael Hanna
Subject newlines won't display in browser
Date
Msg-id 2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca
Whole thread Raw
Responses Re: newlines won't display in browser
Re: newlines won't display in browser
List 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


pgsql-php by date:

Previous
From: Sebastien Baudry
Date:
Subject: How to manipulate a cursor returned by a PL/pgSQL function in a PHP script?
Next
From: "Rod K"
Date:
Subject: Re: newlines won't display in browser