Which function(s) to build a paged HTML table

There are no built-in functions to build grids, this is a design element, and you should use CSS frameworks.

Modern HTML grids are built using DIV elements, styled in CSS.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)