hello, im having problem using this pagination within a while loop that fetch items from the db (not my code, didnt know how to create one so i looked it up also its a old code) the code originally use mysql but since my connection uses mysqli i changed it to match my database, the code seem to be correct but when i added it to my other script that fetch the items it doesnt out. also when using pagination doesnt it need to use the table names from the database? this is the code im using
<?php include_once("php/config.php"); $query = "SELECT id, title, author, post, DATE_FORMAT(date, '