mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
Updated Technical Wiki (markdown)
@@ -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";
|
||||
}
|
||||
````
|
||||
|
Reference in New Issue
Block a user