<?php foreach(array(9,5,14) AS $key) $first[$key] = 1; foreach(array(8,15,23,12) AS $key) $second[$key] = 2; print_r($first); print_r($second);
You have javascript disabled. You will not be able to edit any code.