What is MYSQL storage engines ?

A storage engine is a software module that a database management system uses to create ,read and update the data from a database.
MySQL supports several storage engines that act as handlers for different table types. MySQL storage engines include both those that handle transaction-safe tables and those that handle … Read more

What is array_multisort() in PHP ?

array_multisort() is using to sort several arrays at once or sort multidimensional array, by one or more dimensions.
In this the associative (string) keys will be maintained but numeric keys will be reindexed.

$array1 = array(23,60,50,70);
$array2 = array(2,3,6,5);
array_multisort($array1 , $array2);

OUTPUT:
var_dump($array1);
array(4)
{
[0] =int(23)
[1] … Read more