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