Created
October 24, 2018 07:09
-
-
Save morozVA/760a484082ebfd9803f1ac53728305f5 to your computer and use it in GitHub Desktop.
php sorting data in a multidimensional array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usort($res, function ($a, $b) | |
{ | |
return strcmp($a["LastName"], $b["LastName"]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment