PHP rastgele iki dizileri Kombine nasıl

0 Cevap php

How to combine two arrays into single one and i am requesting this in such a way that the 3rd combination array should contains one value from one array and the next one from other array and so on.. or ( it could be random) ex:

$arr1 = (1, 2, 3, 4, 5);
$arr2 = (10, 20, 30, 40, 50);

ve kombine dizi

$arr3 = (1, 10, 2, 20, 3, 30, ...);

0 Cevap