I am stuck in a simple problem. I have two arrays:
$array1 = array ( productcode => 218133, categoryid => 315, color => red )
$array2 = (10,220)
How to merge this two arrays to have the below result?
$array1 = array ( productcode => 218133, categoryid => array (315, 10, 220), color => red )