Notice: Undefined variable: pdo in D:\xampp\htdocs\packages.php on line 10

Fatal error: Call to a member function prepare() on null in D:\xampp\htdocs\packages.php on line 10