Jump to content

Double Assosiative Array Sorting


Garethp

Recommended Posts

Ok, so I have this array $Movies, which I wasnt to sort by $Movies['MovieName']['Year'] where MovieName is a variable, and I want it to order all the Movies by Year.

 

$Movies['MovieName'] also has other indexes attached to it like $Movies['MovieName']['Rating'] and ['Genre'], and I want those to be sorted along with the ['MovieName']

 

I hope I'm explaining myself properly

Link to comment
https://forums.phpfreaks.com/topic/164782-double-assosiative-array-sorting/
Share on other sites

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.