<input type="checkbox" id="1" name="post[tpl]" value="1" />改成
<input type="checkbox" id="1" name="post[tpl][]" value="1" />
后,php端$_POST['post']['tpl'] 就是一个数组了,然后遍历控制$_POST['postdb']['css'] 就是了。