Jump to content

Ranking Values in Multidimensional array


gray1st

Recommended Posts

Hi

 

I've set-up a multidimensional PHP array from a SQL query which pulls back parcels despatched per item on a daily basis.

 

e.g.

 

Item|Day1|Day2 |Day3|Day4|Day5

1  |100 | 120 | 90 |150 |60

2  |150 | 200 | 80 |90  |100

3  | 1  |  2  | 3  | 4  | 5

 

I want to be able to assign a ranked value to each day based upon the amount of items sent out each day and put that either into the existing array, or create a new array to which it can reference

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.