Re: extra spaces

From: Date: Thu, 14 Dec 2000 22:49:17 +0000
Subject: Re: extra spaces
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30382@lists.php.net to get a copy of this message
Hello Soma, (SI == "Soma Interesting") dfunct@telus.net writes: SI> I'm using PHP & PostgreSQL. SI> All values called from the database are still padded with extra SI> spaces from the column size in the database. Is this normal - I SI> don't remember this happening when I was using MySQL. I thought SI> usually the database stripped the extra spaces when it retrieved SI> the values. SI> How do you recommend dealing with this, using a PHP command to SI> strip every value from the database - or can I change something in SI> the database to have it strip the spaces auto magic like? I'd just use trim(). -Brian -- Hit any user to continue.

« previous php.general (#30382) next »