您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

zengframwork 求教

2024/3/11 18:42:11发布18次查看
为什么在fetchall里面写入$where就报application error错误。是不是哪里少些了什么?
回复讨论(解决方案)
这样写就会报错,不填参数就没事
给 $today 也加上单引号
给 $today 也加上单引号
改过了还是不行,
是不是哪里少些了什么呢?
/**
     * returns an array containing all of the result set rows.
     *
     * @param int $style optional fetch mode.
     * @param int $col   optional column number, if fetch mode is by column.
     * @return array collection of rows, each in a format by the fetch mode.
     * @throws zend_db_statement_exception
     */
    public function fetchall($style = null, $col = null)
    {
        $rows = $this->_fetchstack;
        $this->_fetchstack = array();
return $rows;
    }
没有的用法哦
/**
     * returns an array containing all of the result set rows.
     *
     * @param int $style optional fetch mode.
     * @param int $col   optional column number, if fetch mode ……
你的我没看懂,不过我搞定了
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product