I have a MySQL query, the results of which are delivered in a while loop- I wish to be able to sort the various results by writing them to an array. Can I not append to a multidimensional array in a while loop?
My array is created like this:
I tried $report .= array, also to no avail...
Perhaps this cannot be done?
TIA,
-Allen M.
My array is created like this:
Code:
$report = array( "$user_name"=>array("$subtotal_WD1","$subtotal_WD2","$subtotal_WD3","$subtotal_WE1","$subtotal_WE2","$subtotal_WE3","$agent_subtotal"));
I tried $report .= array, also to no avail...
Perhaps this cannot be done?
TIA,
-Allen M.