Hi,
I took the content of a query on my database, and threw it into an array, this way
Code:
$tabData = array ();
while ($lineData = mysql_fetch_assoc ($resultSql))
{
array_push ($tabData, $lineData);
}
So, each line is an associative array containing several columns.
I want to sort this array line by line, depending on the content of columns (example : sort lines on column title, ascending then on column date descending), but array_multisort doesn't seem to be acting this way.
Could someone help, please ?
|