随笔分类 -  question?

摘要:$condition = array($pk=>array('in',explode(',',$id)));//???$this->model->where($condition)->delete() //DELETE FROM `user` WHERE `id` IN... 阅读全文
posted @ 2015-11-02 15:26 KD-VS-WB 阅读(176) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/ahthw/p/4841405.html,在这里面: function compare(num1, num2){ return num1 - num2; } var nums = [3,1,2,100,4,200] nu... 阅读全文
posted @ 2015-10-08 16:42 KD-VS-WB 阅读(123) 评论(0) 推荐(0)
摘要:1.在PHPStrom编辑器中,怎样使用正则表达式匹配替换? 如: Invoice Login Register ... 阅读全文
posted @ 2015-09-09 15:16 KD-VS-WB 阅读(351) 评论(1) 推荐(0)