Posts by Rafael Armenio • 21 points
2 posts
-
1
votes5
answers632
viewsA: PHP that returns null table fields that are neither empty nor null in Mysql
You can do it in a more simplified way that will work perfectly: $query="SELECT nome FROM formas_pagamento ORDER BY cod_forma_pagamento ASC"; $arr = []; foreach ($con->query($query,…
-
1
votes2
answers213
viewsA: Zend Pagination does not display values on the next page
Change the line $pager->setCurrentPageNumber($page); for $pager->setCurrentPageNumber($this->_getParam('page', 1)); Will work!