Home  >  Article  >  Backend Development  >  thinkphp 超简单有关问题 。新手。

thinkphp 超简单有关问题 。新手。

WBOY
WBOYOriginal
2016-06-13 12:33:43826browse

thinkphp 超简单问题 。新手求助。。
在使用model的时候 添加条件。。

$map['id'] = 5;
$map['title'] = array( 'like',"%".t($_POST['title'])."%" );

上述是等于和模糊查询的条件

那么 我要查询create_time time()
即:当前时间大于创建时间   更新时间小于当前时间怎么写额。。。
$map['eTime'] = array( '
新手问些低级问题 别见怪。。
在线等。。。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn