1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

Updated Technical Wiki (markdown)

apmuthu
2014-11-27 07:54:38 -08:00
parent f4f94203f8
commit c57e67d21a

@@ -69,4 +69,17 @@ $field = Array
}
return "";
}
````
````
Different number of records in listing and select choices:
````
function selectLimitProcess() {
return (isset($_GET["limit"]) ? $_GET["limit"] : "20");
}
function selectLimitPrint($limit) {
echo "<fieldset><legend>" . lang('Limit') . "</legend><div>"; // <div> for easy styling
echo html_select("limit", array("", "20", "50", "100"), $limit);
echo "</div></fieldset>\n";
}
````