Re: removing space ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux