Warning: Undefined array key 1 in /home/auedu/public_html/post.php on line 8

Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/auedu/public_html/post.php:20 Stack trace: #0 /home/auedu/public_html/post.php(20): mysqli_num_rows(false) #1 {main} thrown in /home/auedu/public_html/post.php on line 20