摘要: array_push向数组尾部压入元素 ,然后返回新数组的长度$a=array("red","green");$array_len = array_push($a,"blue","yellow"); print_r($a);//Array ( [0] => red [1] => green [2] => blue [3] => yellow )print_r($array_len);// 4输出... 阅读全文
posted @ 2019-03-12 14:50 终究是乌云遮了天 阅读(187) 评论(0) 推荐(0) 编辑
摘要: -------------------------------------------------------------------------------- $idArr = array('1','2','3','4') $update = Db::name('task666')->where('id', 'in', $idArr)->update(['mark' => 1]); //... 阅读全文
posted @ 2019-03-12 11:03 终究是乌云遮了天 阅读(316) 评论(0) 推荐(0) 编辑