Pagination snippet

anyone know of a functional PHP / Mysqli pagination snippet that I can simply paste into my existing PHP code? A basic concept seems fit for a basic solution.

There’s a ton of solutions available if you just google it; you can decide which method fits your existing code best. They all generally work the same, using $_GET to determine the current page, and mysql limit and offset to determine which rows to fetch

$_GET and offset–excellent! Thanks!