-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 6:17 PM
To: php-db@lists.php.net
Subject: RE: [PHP-DB] Remove newlines from field
>At 04:00 PM 3/20/2006, you wrote:
>
>
>I am using a PHP script to pull information from a Fox
-Original Message-
From: Ludvig Ericson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 5:54 PM
To: Giff Hammar
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Remove newlines from field
Mind you Pearl programmers, what would that do?
[snip]
It changes the end of line
At 07:17 PM 3/20/2006, Miles Thompson wrote:
Forgot to add that the writers work in WP 5.2 for Windows, because it has
an excellent indexing function which enables them to locate back stories v.
quickly.
That text is cut and pasted into an HTML textarea, which is saved to a
MySQL databa
At 04:00 PM 3/20/2006, you wrote:
I am using a PHP script to pull information from a FoxPro database via ODBC.
One of the fields is a memo field (large text) that contains newline
characters. Displaying this info to the web page is fine as the newlines are
ignored. The challenge is when I com
I think I need something like the 'local $/ = "\r\n"'
> construct in perl...
>
> Giff
>
> _
>
> From: Jeremy Peterson [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 20, 2006 5:14 PM
> To: Giff Hammar
> Subject: Re: [PHP-DB] Remove newlines from fie
emy Peterson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 5:14 PM
To: Giff Hammar
Subject: Re: [PHP-DB] Remove newlines from field
Try nl2br.
http://php.net/nl2br
At 04:00 PM 3/20/2006, you wrote:
I am using a PHP script to pull information from a FoxPro database via ODBC.
One of
see the nl2br function in the manual (www.php.net/nl2br)
bastien
From: "Giff Hammar" <[EMAIL PROTECTED]>
To:
Subject: [PHP-DB] Remove newlines from field
Date: Mon, 20 Mar 2006 17:00:49 -0500
I am using a PHP script to pull information from a FoxPro database via
ODBC.
One
I am using a PHP script to pull information from a FoxPro database via ODBC.
One of the fields is a memo field (large text) that contains newline
characters. Displaying this info to the web page is fine as the newlines are
ignored. The challenge is when I combine user entered text with the existing