Re: [PHP-DB] removing space ?

2003-10-28 Thread CPT John W. Holmes
From: "Larry Sandwick" <[EMAIL PROTECTED]> > 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

Re: [PHP-DB] removing space ?

2003-10-28 Thread jeffrey_n_Dyke
L PROTECTED] 10/28/2003 05:16 Subject: Re: [PHP-DB] removing space ?

Re: [PHP-DB] removing space ?

2003-10-28 Thread jeffrey_n_Dyke
10/28/2003 05:11 Subject: [PHP-DB] removing space ? PM

Re: [PHP-DB] removing space ?

2003-10-28 Thread Larry E . Ullman
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? You can definitely do this an

Re: [PHP-DB] removing space ?

2003-10-28 Thread Dan Brunner
Hello. Use ltrim(). $image = ltrim($data->JPG_Name); echo $image; Or use trim() Or http://www.php.net/manual/en/ref.strings.php Dan On Oct 28, 2003, at 4:11 PM, [EMAIL PROTECTED] wrote: When I select data from my data base I have spaces on the lead side for example the data that is

[PHP-DB] removing space ?

2003-10-28 Thread Larry Sandwick
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? Can it be done in the