Notice: Undefined variable: db in /var/www/html/details.php on line 11

Fatal error: Uncaught Error: Call to a member function quote() on null in /var/www/html/details.php:11 Stack trace: #0 {main} thrown in /var/www/html/details.php on line 11