摘要:
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输出... 阅读全文
摘要:
-------------------------------------------------------------------------------- $idArr = array('1','2','3','4') $update = Db::name('task666')->where('id', 'in', $idArr)->update(['mark' => 1]); //... 阅读全文