$in="(";
foreach($vet as $t) $in.="$t,";
$in[strlen($in)-1]=")";

SELECT * FROM tabella WHERE id IN $in;