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: 2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group