RE: [PHP-DB] Remove newlines from field

2006-03-21 Thread Giff Hammar
-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

RE: [PHP-DB] Remove newlines from field

2006-03-21 Thread Giff Hammar
-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 tops snipped At 04:00 PM 3/20/2006, you wrote: I am using a PHP script to pull information from a FoxPro

RE: [PHP-DB] Remove newlines from field

2006-03-20 Thread Bastien Koert
see the nl2br function in the manual (www.php.net/nl2br) bastien From: Giff Hammar [EMAIL PROTECTED] To: php-db@lists.php.net 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

RE: [PHP-DB] Remove newlines from field

2006-03-20 Thread Giff Hammar
:[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 the fields is a memo field

Re: [PHP-DB] Remove newlines from field

2006-03-20 Thread Ludvig Ericson
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 field Try nl2br. http://php.net/nl2br At 04:00 PM 3/20/2006, you wrote: I am

RE: [PHP-DB] Remove newlines from field

2006-03-20 Thread Miles Thompson
tops snipped 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

RE: [PHP-DB] Remove newlines from field

2006-03-20 Thread Miles Thompson
At 07:17 PM 3/20/2006, Miles Thompson wrote: tops snipped 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