输入banner图图片脚本导航/分类

easyui-datagri+checkbox如何用getSelections把数据保存成数组?

checkboxeasyuiphpdatagrid

用的easyui-datagrid,里面加了个 checkbox


我怎么根据多行选择的数据保存为数组发送给php,由php来分隔数组后来执行修改。
 function edit(){                  var row = $('#dg').datagrid('getSelections');                     for(var i = 0; i

只会用这种方法来获取uid,我应该怎么把他保存成数组。

 if($o == 'edit'){            $uid = $_GET['uid'];            $profit_date = date('Y-m-d');            $sql = "update e_user set profit_date = '$profit_date' where uid='$uid'";            execute_data($sql);}

求指导。