You have to create additional array and put those arrays there:
$array1 = ['title' => 'title1', 'link' => 'link1'];
$array2 = ['title' => 'title2', 'link' => 'link2'];
$a=array();
array_push($a, $array1);
array_push($a, $array2);
OR:
/...
$a[0] = $array1;
$a[1] = $array2;
To print it:
var_dump($a);
//or
print_r($a);
1
solved How to add two array that have the same key value pair?