change sql fetch

This commit is contained in:
wlx 2013-04-22 16:17:17 +00:00
parent fe5c698d7b
commit 0077cf2ac7
1 changed files with 1 additions and 1 deletions

View File

@ -2385,7 +2385,7 @@ class Admin_DataController extends Zend_Controller_Action
$sql="select u.username,u.email from mdexpertreview e left join users u on e.id=u.id where e.status in (0,1) and e.uuid=?"; $sql="select u.username,u.email from mdexpertreview e left join users u on e.id=u.id where e.status in (0,1) and e.uuid=?";
$sth = $this->db->prepare($sql); $sth = $this->db->prepare($sql);
$sth->execute(array($row['uuid'])); $sth->execute(array($row['uuid']));
$experts = $sth->fetch(); $experts = $sth->fetchAll();
unset($mail); unset($mail);
unset($mailtp); unset($mailtp);