Home> php教程> PHP源码> body text

zend中取得单表一行数据

David Beckham
Release: 2016-05-24 12:53:00
Original
1081 people have browsed it

跳至

public function getRow($where) { $select = $this->getSelect(); $select->where($where); $select->limit(1); $result = $this->selectWith($select); if(count($result)>0) { return $result->current(); } return null; }
Copy after login

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 Recommendations
    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!