Notice: Undefined variable: connect in C:\xampp\htdocs\rank\awp1\index.php on line 14

Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\xampp\htdocs\rank\awp1\index.php:14 Stack trace: #0 {main} thrown in C:\xampp\htdocs\rank\awp1\index.php on line 14