tce_functions_page.php

Functions for XHTML pages.

Source: shared/code/tce_functions_page.php

Functions for XHTML pages.

Functions

F_show_page_navigator()

Display Pages navigation index.

function F_show_page_navigator(
    mixed $script_name,
    mixed $sql,
    mixed $firstrow,
    mixed $rowsperpage,
    mixed $param_array
): mixed

Parameters:

  • $script_name (mixed): (string) url of the calling page
  • $sql (mixed): (string) sql used to select records
  • $firstrow (mixed): (int) first row number
  • $rowsperpage (mixed): (int) number of max rows per page
  • $param_array (mixed): (string) parameters to pass on url via GET

Returns: mixed: the number of pages in case of success, FALSE otherwise

Source: shared/code/tce_functions_page.php:32