Advertisement
Guest User

Untitled

a guest
May 15th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2. class User extends Zend_Db_Table_Abstract
  3. {
  4.     protected $_name = 'users';
  5.        
  6.         public function verificaLogin($username,$password) {
  7.            
  8.             return $this->fetchRow(
  9.                 $this->select()
  10.                 ->where('username=?',$username)
  11.                 ->where('password=?',$password)
  12.             );
  13.         }
  14.    
  15.    
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement