Someone
public text v1 · immutablefor($i = 0, $i < count($options), $i++){
$query="INSERT INTO category_item ( item_id , category_id ) VALUES ((int)$_GET[id], (int)$option[$i])";
mysql_query($query);
}for($i = 0, $i < count($options), $i++){
$query="INSERT INTO category_item ( item_id , category_id ) VALUES ((int)$_GET[id], (int)$option[$i])";
mysql_query($query);
}