Re: Removing Returns / New Lines / Tabs / Extra Spaces from DB Results

From: Date: Thu, 08 May 2003 14:52:06 +0000
Subject: Re: Removing Returns / New Lines / Tabs / Extra Spaces from DB Results
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146850@lists.php.net to get a copy of this message
Have you looked at the addslashes() function? On Wednesday, May 7, 2003, at 10:37 PM, Jami wrote:
I have a form with a textarea that allows for description and people can put in returns. How can I remove the returns once the content has already been submitted to the database prior to writing the information to a tab delimited text file? I have tried trim, ltrim, rtrim, and eregi_replace to remove \n, \r, and \t, but it has not worked. -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577


« previous php.general (#146850) next »