Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-php

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



pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group