php array_multisort Array sizes are inconsistent
CBEShop - cross border E-commerce shop,multiple merchant multi store online shopping system( https://www.crossborderpower.com)
ajax return error
string(28) "Array sizes are inconsistent"
{"status":"failed","msg":"updating cart failed","data":null}
this is my code
$sortColumn = array_column($carriers, 'shipping_cost');
array_multisort($sortColumn, SORT_ASC, $carriers);
Comment
Login To Comment
No Comments