[prev in list] [next in list] [prev in thread] [next in thread]
List: php-db
Subject: Re: [PHP-DB] removing space ?
From: "CPT John W. Holmes" <holmes072000 () charter ! net>
Date: 2003-10-28 22:23:00
[Download RAW message or body]
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...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic