At 10:26 AM -0400 4/8/10, Robert Cummings wrote:
tedd wrote:
At 8:28 AM -0400 4/8/10, Andrew Ballard wrote:
On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun ryansu...@gmail.com wrote:
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' = 75,
'USPS mail' = 40,
tedd wrote:
Rob:
You're never confused because you are always right.
I should have you mention this to my wife... I'll provide the helmet :)
Congrats, you were the first to solve this problem this simply.
To tell the truth, I didn't fully understand how array_multisort()
worked until I
On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun ryansu...@gmail.com wrote:
On Wed, Apr 7, 2010 at 6:29 PM, tedd tedd.sperl...@gmail.com wrote:
[snip]
Let's look at the problem again (a vote collection problem):
Array 1
(
[1] = 75
[2] = 31
[3] = 31
[4] = 31
[5] = 40
)
Array
At 6:46 PM -0400 4/7/10, Ryan Sun wrote:
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' = 75,
'USPS mail' = 40,
'Personal Phone' = 31,
'Web site' = 31,
'Text Message' = 31
)
logically, the items are your key but not the count of votes
Logically,
At 8:28 AM -0400 4/8/10, Andrew Ballard wrote:
On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun ryansu...@gmail.com wrote:
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' = 75,
'USPS mail' = 40,
'Personal Phone' = 31,
'Web site' = 31,
'Text Message' = 31
On Thu, Apr 8, 2010 at 9:55 AM, tedd tedd.sperl...@gmail.com wrote:
At 8:28 AM -0400 4/8/10, Andrew Ballard wrote:
On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun ryansu...@gmail.com wrote:
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' = 75,
'USPS mail'
tedd wrote:
At 8:28 AM -0400 4/8/10, Andrew Ballard wrote:
On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun ryansu...@gmail.com wrote:
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' = 75,
'USPS mail' = 40,
'Personal Phone' = 31,
'Web site' = 31,
'Text
At 5:35 PM -0400 4/7/10, Andrew Ballard wrote:
On Wed, Apr 7, 2010 at 5:02 PM, Paul M Foster pa...@quillandmouse.com wrote:
Array indexes have to be unique regardless of whether they are numeric
or strings.
Ahhh, so you start to see the problem, eh?
Let's look at the problem again (a vote
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' = 75,
'USPS mail' = 40,
'Personal Phone' = 31,
'Web site' = 31,
'Text Message' = 31
)
logically, the items are your key but not the count of votes
On Wed, Apr 7, 2010 at 6:29 PM, tedd
9 matches
Mail list logo