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