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

WBOY
Release: 2016-06-13 12:33:43
Original
829 people have browsed it

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

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!