node

node

Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行环境。
javascript/jQuery

javascript/jQuery

一种直译式脚本语言,是一种动态类型、弱类型、基于原型的语言,内置支持类型。
MongoDB

MongoDB

MongoDB 是一个基于分布式文件存储的数据库
openstack

openstack

OpenStack是一个由NASA(美国国家航空航天局)和Rackspace合作研发并发起的,以Apache许可证授权的自由软件和开放源代码项目。
VUE

VUE

一套构建用户界面的渐进式框架。与其他重量级框架不同的是,Vue 采用自底向上增量开发的设计。
bootstrap

bootstrap

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
HTML

HTML

超文本标记语言,标准通用标记语言下的一个应用。
CSS/SASS/SCSS/Less

CSS/SASS/SCSS/Less

层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
PHP

PHP

PHP(外文名:PHP: Hypertext Preprocessor,中文名:“超文本预处理器”)是一种通用开源脚本语言。语法吸收了C语言、Java和Perl的特点,利于学习,使用广泛,主要适用于Web开发领域。PHP 独特的语法混合了C、Java、Perl以及PHP自创的语法。它可以比CGI或者Perl更快速地执行动态网页。用PHP做出的动态页面与其他的编程语言相比,PHP是将程序嵌入到HTML(标准通用标记语言下的一个应用)文档中去执行,执行效率比完全生成HTML标记的CGI要高许多;PHP还可以执
每天进步一点点

每天进步一点点

乌法把门的各累笑寂静
求职招聘

求职招聘

猎头招聘专用栏目
Python

Python

一种解释型、面向对象、动态数据类型的高级程序设计语言。

如何筛选条件

老夏夏 发表了文章 • 0 个评论 • 1627 次浏览 • 2018-02-06 16:41 • 来自相关话题

?该版本应该没有任何bug
? public function where($sessionName,$data){

if($data == '' && !Request::instance()->isPost()){
$where = Session::get(
$sessionName);
}else{
$where = $data;
Session::set($sessionName,$where);
}
return $where;
}


以下是调用where方法
? $fromname = ltrim(input('fromname'));
$content = ltrim(input('content'));

$where['room_id'] = Session::get('room_id');

$where['content'] = $this->where('msg_content',$content);
if($where['content'] == ''){
unset($where['content']);
}else{
$content = $where['content'];
}

$where['fromname'] = $this->where('msg_fromname',$fromname);

if($where['fromname'] == ''){
unset($where['fromname']);
}else{
$fromname = $where['fromname'];
} 查看全部
?该版本应该没有任何bug
?
 public function where($sessionName,$data){

if($data == '' && !Request::instance()->isPost()){
$where = Session::get(
$sessionName);
}else{
$where = $data;
Session::set($sessionName,$where);
}
return $where;
}


以下是调用where方法
?
        $fromname = ltrim(input('fromname'));
$content = ltrim(input('content'));

$where['room_id'] = Session::get('room_id');

$where['content'] = $this->where('msg_content',$content);
if($where['content'] == ''){
unset($where['content']);
}else{
$content = $where['content'];
}

$where['fromname'] = $this->where('msg_fromname',$fromname);

if($where['fromname'] == ''){
unset($where['fromname']);
}else{
$fromname = $where['fromname'];
}