diff --git a/Technical-Wiki.md b/Technical-Wiki.md index 663b118..83b84b7 100644 --- a/Technical-Wiki.md +++ b/Technical-Wiki.md @@ -69,4 +69,17 @@ $field = Array } return ""; } -```` \ No newline at end of file +```` + +Different number of records in listing and select choices: +```` + function selectLimitProcess() { + return (isset($_GET["limit"]) ? $_GET["limit"] : "20"); + } + + function selectLimitPrint($limit) { + echo "
" . lang('Limit') . "
"; //
for easy styling + echo html_select("limit", array("", "20", "50", "100"), $limit); + echo "
\n"; + } +````