I'm sorry but this morning a fresh mind I found the solution!
here's the code:
<?php
$categorie=array();
$x=0;
foreach($cat_list as $cat => $value) {
foreach($value as $c => $v) {
$categorie[$x][$c]=$v;
}
$x++;
}
?>
and then a simple loop to the last array
thanks for this code wonderufl
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.