In this chapter, we will go through the following PHP array sort functions:
sort() - sort arrays in ascending order
rsort() - sort arrays in descending order
asort() - sort associative arrays in
$GLOBALS is a PHP super global variable which is used to access global variables from anywhere in the PHP script (also from within functions or methods).
PHP stores all global variables in an array
The interest of this code is to understand the power of AJAX technology (XML & Javascript).
This code is reusable, indeed, you can set it to your liking.
Supported browser: Firefox, IE (scrolling