mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Comment
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@728 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -287,7 +287,10 @@ if (!$columns) {
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<p>";
|
||||
$found_rows = (intval($limit) ? $dbh->result($dbh->query(count($group) < count($select) ? " SELECT FOUND_ROWS()" : "SELECT COUNT(*) FROM " . idf_escape($_GET["select"]) . ($where ? " WHERE " . implode(" AND ", $where) : ""))) : $result->num_rows);
|
||||
$found_rows = (intval($limit) ? $dbh->result($dbh->query(count($group) < count($select)
|
||||
? " SELECT FOUND_ROWS()" // space to allow mysql.trace_mode
|
||||
: "SELECT COUNT(*) FROM " . idf_escape($_GET["select"]) . ($where ? " WHERE " . implode(" AND ", $where) : "")
|
||||
)) : $result->num_rows);
|
||||
if (intval($limit) && $found_rows > $limit) {
|
||||
$max_page = floor(($found_rows - 1) / $limit);
|
||||
echo lang('Page') . ":";
|
||||
|
Reference in New Issue
Block a user