Thank you for your answer, yes my array is numeric and bidimensional. Unfortunally there is still wrong :-(
The problem happens each time I unset an item: when I add the next item it will delete the first... I don't understand why :-( .
My array has this format :
$array[0][0]= "duffy";
$array[0][1]= "blunder";
$array[1][0]= "Tom";
$array[1][1]= "Cat";
.
.
.
Then I do a
unset($array[0]);
and next I add a new item using the code suggested by you:
$new_pos = key(end($array));
$new_pos++;
$array[$new_pos][0] = $name;
$array[$new_pos][1] = $kind;
but as result there is only the new item in the array :-(
Could you help once more ?
Thank you very much!
Fabio