Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/newlakshya/public_html/functions/function.php:321
Stack trace:
#0 /home/newlakshya/public_html/functions/function.php(321): mysqli_fetch_array(false)
#1 /home/newlakshya/public_html/pages/gallery-student.php(37): fetchdata('img_gallery', Array)
#2 /home/newlakshya/public_html/functions/function.php(81): include_once('/home/newlakshy...')
#3 /home/newlakshya/public_html/index.php(16): navigation('gallery-student')
#4 {main}
thrown in /home/newlakshya/public_html/functions/function.php on line 321