//ads: ?> How to map the two arrays with a duplicate value?phpmysqlarrays PHP Snippet 1:$res = array(); foreach ($array1['id_e'] as $ide) foreach ($array2['id_s'] as $ids) $res[] = array('id_e' => $ide, 'id_s' => $ids);