Como re-indexar array php

Posted on by : admin Tags:

$list = array_combine(range(0, count($listNew)-1), array_values($listNew));

Reference = https://stackoverflow.com/questions/591094/how-do-you-reindex-an-array-in-php-but-with-indexes-starting-from-1;