Warning: Undefined variable $con in E:\SHS\hr-policy.php on line 5

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in E:\SHS\hr-policy.php:5 Stack trace: #0 E:\SHS\hr-policy.php(5): mysqli_query(NULL, 'select * from p...') #1 {main} thrown in E:\SHS\hr-policy.php on line 5