-1
Personal how can I combine arrays in the following example array:
$cor = array('branco', 'preto');
I would like the combination of arrays to look like this:
$cor = array('branco', 'brancopreto', 'preto', 'pretobranco');
I tried that
$cor = "Preto Branco";
$cor = explode(" ",$cor);
$juncao = array_merge($cor, $cor);
foreach ($juncao as $value) {
echo $value . "<br>";
}
Hi buddy... I tried to use array_merge($arr1, $arr2) more I saw that’s not quite it
– kibarco net
Quiet I’m gonna do it !
– kibarco net