I'm still not getting what you want to do. An array can only have one element per given key, so there can be only one element of array with the key called "name". In other words, this...
<?php
$array = array('name'=>'value1', 'name'=>'value2', 'name'=>'value3');
print_r($array);
?>
...will output this...
Array ( [name] => value3 )