RE: [PHP] trim string - try array/join()

2001-03-22 Thread Jeff Armstrong
AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] trim string On Wed, 21 Mar 2001 18:09:47 +0800, Wen Ni Leong ([EMAIL PROTECTED]) wrote: >I need help in this basic string function. >I query from the database by using while loop and the result in in >array. I separated them by

Re: [PHP] trim string

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 18:09:47 +0800, Wen Ni Leong ([EMAIL PROTECTED]) wrote: >I need help in this basic string function. >I query from the database by using while loop and the result in in >array. I separated them by using "," . > >I want at the end of the string to be trim off. Unfortunately I >

Re: [PHP] trim string

2001-03-21 Thread Gary Huntress
Perform the trim as part of the query: "Select rtrim(app_name) , rtrim( status) from approval_list where doc_no='6'" "Wen Ni Leong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need help in this basic string function. > I query from the database by using

RE: [PHP] trim string

2001-03-21 Thread James Moore
> -Original Message- > From: Wen Ni Leong [mailto:[EMAIL PROTECTED]] > Sent: 21 March 2001 10:10 > To: [EMAIL PROTECTED] > Subject: [PHP] trim string > > > I need help in this basic string function. > I query from the database by using while loop and the result in in > array. I separa

Re: [PHP] trim string

2001-03-21 Thread Keith Vance
You might be able to use substr. http://www.php.net/substr K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, Wen Ni Leong wrote: > I need help in this basic string function. > I query from the database by using while loop and the result in in > array. I separated t