Please Help Me On PHP Pagination
This is My Page Link:- "threads.php?catid='.$id.'?" Now i Want add the Page Number in the link:- &page='.$i.' Now My final Link will be this:- "threads.php?catid='.$id.'?&page='.$i.'" link is working perfectly but when i click on next or previous pages its shows ana error, whis is:- Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, bool given in C:\xampp\htdocs\php\PHP Form\threads.php:28 Stack trace: #0 C:\xampp\htdocs\php\PHP Form\threads.php(28): mysqli_fetch_assoc(false) #1 {main} thrown in C:\xampp\htdocs\php\PHP Form\threads.php on line 28 This link is working correctly -> threads.php?catid='.$id.'? After clcking on a page number of the same page, my url changed to -> threads.php?catid='.$id.'?&page='.$i.' but the an error ocurred (given above) Please Help Me