checkboxeasyuiphpdatagrid
用的easyui-datagrid,里面加了个 checkbox
function edit(){ var row = $('#dg').datagrid('getSelections'); for(var i = 0; i<row.length;i++){ alert("UID : "+row[i].uid);// url = '../php/test.php?o=edit&uid='+row[i].uid; } }只会用这种方法来获取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);}求指导。
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号