fix error
This commit is contained in:
parent
417e587dbc
commit
5791184f19
|
@ -112,7 +112,7 @@ class DataController extends Zend_Controller_Action
|
||||||
if (empty($page)) $page=1;
|
if (empty($page)) $page=1;
|
||||||
$limit=10;
|
$limit=10;
|
||||||
$offset=$limit*($page-1);
|
$offset=$limit*($page-1);
|
||||||
$state=$this->db->query('select count(*) from $this->submd');
|
$state=$this->db->query("select count(*) from $this->submd");
|
||||||
$row=$state->fetchAll();
|
$row=$state->fetchAll();
|
||||||
$sum=$row[0]['count'];
|
$sum=$row[0]['count'];
|
||||||
$select=$this->db->select();
|
$select=$this->db->select();
|
||||||
|
|
Loading…
Reference in New Issue