Howdy,
Thanks for the tip unfortunately it doesn't do exactly what I wanted. It returns the arrays index in an ordered array.
Instead I've written the following function:
function reIndexArray($array) {
$count = "0";
$new_array = array();
foreach ($array as $key=>$item) {
array_push($new_array, $item);
}
return $new_array;
}
which does the trick.
I was hoping for a more elegant solution.
Cheers,
HS