Fatal error: Uncaught Error: Call to a member function fetchall() on bool in D:\xampp\htdocs\city\php\db.php:103 Stack trace: #0 D:\xampp\htdocs\city\details.php(56): get_pic('', NULL) #1 {main} thrown in D:\xampp\htdocs\city\php\db.php on line 103