pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Hanna <taojones@sympatico.ca>
To: pgsql-php@postgresql.org
Subject: newlines won't display in browser
Date: Sun, 12 Oct 2003 22:01:35 -0400
Message-ID: <2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca> (raw)

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




view thread (3+ messages)  latest in thread

Message-ID: <2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca>
Permalink:  ../2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca/
Also on:    postgresql.org/message-id/2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: taojones@sympatico.ca
  Subject: Re: newlines won't display in browser
  In-Reply-To: <2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca>
  References: <2CCFF91A-FD21-11D7-A49D-00039308EB2C@sympatico.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox