Re: [PHP] Array help needed

2001-01-18 Thread CDitty
Thanks. Didn't see that myself. Thanks for the help Chris At 10:28 AM 1/18/01, [EMAIL PROTECTED] wrote: >Addressed to: CDitty <[EMAIL PROTECTED]> > [EMAIL PROTECTED] > >** Reply to note from CDitty <[EMAIL PROTECTED]> Thu, 18 Jan 2001 >06:58:22 -0600 > >I see someone else has an

Re: [PHP] Array help needed

2001-01-18 Thread April
c: <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 10:40 AM Subject: Re: [PHP] Array help needed > I wouldn't call it a php standard. > > I personally feel that readability is far more important than following > anything that 'appears' to be standard. I use a fo

Re: [PHP] Array help needed

2001-01-18 Thread Kristi Russell
I wouldn't call it a php standard. I personally feel that readability is far more important than following anything that 'appears' to be standard. I use a format such as this for everything I name: If one word, lowercase, if more than one word: $userSelectedDate or displayCalendar(). So basica

Re: [PHP] Array help needed

2001-01-18 Thread php3
Addressed to: CDitty <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from CDitty <[EMAIL PROTECTED]> Thu, 18 Jan 2001 06:58:22 -0600 I see someone else has another suggestion that might be better, using array_count(). You learn something new every day, which is why I watch

Re: [PHP] Array help needed

2001-01-18 Thread php3
Addressed to: CDitty <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from CDitty <[EMAIL PROTECTED]> Thu, 18 Jan 2001 05:40:13 -0600 > > Hello all, > > I have 6 numbers that are in an array. I need to know how many times > each number shows up in that array. > > ex Numbe

Re: SV: [PHP] Array help needed

2001-01-18 Thread CDitty
array_keys($count) as $s) >{ >echo "Number: " . $s. " count: " . $count[$s] . ""; >} > > > > > > -Opprinnelig melding- > > Fra: CDitty [mailto:[EMAIL PROTECTED]] > > Sendt: 18. januar 2001 12:40 > > Til: [EMAIL PROTECTE

SV: [PHP] Array help needed

2001-01-18 Thread Knut Sætre
TED]] > Sendt: 18. januar 2001 12:40 > Til: [EMAIL PROTECTED] > Emne: [PHP] Array help needed > > > Hello all, > > I have 6 numbers that are in an array. I need to know how > many times each > number shows up in that array. > > ex > Numbers: 1,3,5,1

[PHP] Array help needed

2001-01-18 Thread CDitty
Hello all, I have 6 numbers that are in an array. I need to know how many times each number shows up in that array. ex Numbers: 1,3,5,1,4,1 Output needed: (Not necessarily like this) 1 3 3 1 5 1 4 1 Can anyone help me with this? I looked in the manual, but couldn't find anything that