Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, null given in /home/jagroty2385purha/public_html/subCategory.php:23 Stack trace: #0 /home/jagroty2385purha/public_html/subCategory.php(23): mysqli_num_rows() #1 {main} thrown in /home/jagroty2385purha/public_html/subCategory.php on line 23