tp3.2搜索输入提示功能

浏览:2084 发布日期:2014/04/29 分类:求助交流
在搜索时输入内容提示匹配的内容。我把查询的表数据缓存了。但还是慢。。。
数据大概有20万条。。。if(S('list')) {
            $list    =    S('list');
        }else{
            $product    =    M("product");
            $list    =    $product->where("new_product=1")->select();
            S('list',$list);
        }
最佳答案
评论( 相关
后面还有条评论,点击查看>>