If you want to change selection, open document below and click on "Move attachment"
php 6 on, then sort the array by number of purchases to see who your most loyal customers are.
When it comes to sorting arrays, PHP provides no less than twelve functions that you can use to sort an array. The more common ones are:
<span>sort() and rsort() — For sorting indexed arrays asort() and arsort() — For sorting associative arrays ksort() and krsort() — For sorting associative arrays by key rather than by value array_multisort
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.