https://hanapolitics.blogspot.com/2024/01/how-to-paginate-mysql-query-that.html
How To Paginate A Mysql Query That Depends On A For() Loop