Current Time 00:00 Total Time 00:00
We are always looking for input on our tutorial content. If you have a suggestion, comment, additional information on this topic that you feel should be added, drop us a line. We appreciate your input.
Title: Sorting Arrays in PHP Category: PHP
Topic: Essential Training Publish Date: 2016-03-06
Views: 228
Author: Mike King
In this tutorial we look at the functions in PHP that are associated with sorting indexed and associative arrays. We demonstrate the proper use of the sort() function the rsort () function, asort() function, the arsort() function and the ksort() and the kasort() functions. These functions are all demonstrated and explained in the tutorial. The print_r function is used throughout the demonstration to out our results to the browser window.