RE: [PHP] Trailing Spaces Problem

2008-07-18 Thread Wei, Alice J.
@lists.php.net Subject: Re: [PHP] Trailing Spaces Problem Thiago H. Pojda wrote: > On Fri, Jul 18, 2008 at 11:41 AM, Wei, Alice J. <[EMAIL PROTECTED]> wrote: > >> Hi, > > > >> Is there some way that I can have it so that it can print out: >> >> 1: 1 2:0 3:

Re: [PHP] Trailing Spaces Problem

2008-07-18 Thread Peter Ford
Thiago H. Pojda wrote: On Fri, Jul 18, 2008 at 11:41 AM, Wei, Alice J. <[EMAIL PROTECTED]> wrote: Hi, Is there some way that I can have it so that it can print out: 1: 1 2:0 3: 70.208 4. 61.613 5. 1.424 I tried using \s for trailing spaces, but It all gave me output of everything in the

Re: [PHP] Trailing Spaces Problem

2008-07-18 Thread Thiago H. Pojda
On Fri, Jul 18, 2008 at 11:41 AM, Wei, Alice J. <[EMAIL PROTECTED]> wrote: > Hi, > > Is there some way that I can have it so that it can print out: > > 1: 1 2:0 3: 70.208 4. 61.613 5. 1.424 > > I tried using \s for trailing spaces, but It all gave me output of > everything in the single line. >

[PHP] Trailing Spaces Problem

2008-07-18 Thread Wei, Alice J.
Hi, I have a code here as the following: When I execute it, I get this error and output: PHP Notice: Undefined offset: 2 in /root/Desktop/test.php on line 8 PHP Notice: Undefined offset: 3 in /root/Desktop/test.php on line 8 PHP Notice: Undefined offset: 4 in /root/Desktop/test.php on