摘要:
今天在项目中用php foreach数据库查询结果时,为了方便没有判断数据是否存在,直接用(array)强制转换数据时,刚开始网页始终打不开,就报502,一头懵,突然间php报“Cannot create references to elements of a temporary array exp 阅读全文
摘要:
// jquery实现动态选中select var active = $('.all_sla_title1 .active') var group_name = active.html(); var sla = active.attr('data-sla'); var remote = active.attr('data-remote'); // console.log(group_name... 阅读全文
摘要:
1. mysql -u root -p; // 登录mysql, 并输入密码 2. use mysql; // 打开 mysql 数据库 3. update user set host='%' where user='root' and host='localhost'; // 允许远程登录 upd 阅读全文