Notice: Undefined variable: db in /home/forsan/public_html/viewcat.php on line 8

Fatal error: Call to a member function prepare() on null in /home/forsan/public_html/viewcat.php on line 8