Re: Getting rid of extra lines

From: Date: Wed, 29 Jul 2009 19:23:43 +0000
Subject: Re: Getting rid of extra lines
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-296022@lists.php.net to get a copy of this message
On 7/29/09 2:19 PM, "Jim Lucas" <lists@cmsws.com> wrote: $clean = preg_replace('|\s+|', ' ', $input); Hi Jim, The extra whitespace lines are in the data store, coming from it I'm going to try your method but is there a way to not have mySQL store it with so many lines (this is data being screen scraped and put in the db) My code was at the beginning of this post of how I was inserting it. Thanks And Chocolate huh.... Terion

« previous php.general (#296022) next »