您好,欢迎访问一九零五行业门户网

zengframwork 求教

为什么在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 ……
你的我没看懂,不过我搞定了
其它类似信息

推荐信息