Ver original$checked = array(2,8,9);foreach($checked as $value){ mysql_query("INSERT INTO tabla VALUES($value)");}