我有下一个代码:
$parent_priority = $data['priority'];
$where = $this->getAdapter()->quoteInto('priority >= ?', $parent_priority);
$columns = array ('id',
'title',
'enabled',
'description',
'pv',
'gv',
'mps', 'priority',
);
$select_data = $this->select()->from($this->_name, $columns);
$ranks = $this->fetchAll($select_data)->toArray();
但是 Zend 在行中创建了一个错误“Column not found: 1054 Unknown column '0' in 'field list'”$ranks = $this->fetchAll($select_data)->toArray();
我该如何解决这个问题?