Re: removing space ?

From: Date: Tue, 28 Oct 2003 22:23:00 +0000
Subject: Re: removing space ?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-31342@lists.php.net to get a copy of this message
From: "Larry Sandwick" <lgs@sarreid.com> > When I select data from my data base I have spaces on the lead side for > example the data that is stored is " 33.jpg". Spaces included, > exclude the quotes, quotes are example only to show the spaces. > > I would like to remove these spaces. Is there a way to do this? trim(), either in your query or in PHP. Maybe you want to use the function BEFORE you store the data?? ---John Holmes...

« previous php.db (#31342) next »