vincevincevince - 1:29 am on Nov 15, 2012 (gmt 0)
$_POST['multi'] will already be an array; if you want to separate them by commas, implode: implode(",",$_POST['multi']);
However: if this is a public facing system, then please do some careful checks on valid values... I do it like this:
foreach ($_POST['multi'] as $k=>$v) if (intval($k)) $data=intval($k);
That way, only data which is a positive integer will be inserted.