Warning: Undefined variable $con in /home/stjamesi/public_html/header.php on line 2

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/stjamesi/public_html/header.php:2 Stack trace: #0 /home/stjamesi/public_html/header.php(2): mysqli_query(NULL, 'select * from s...') #1 /home/stjamesi/public_html/newandevent_detail.php(1): include('/home/stjamesi/...') #2 {main} thrown in /home/stjamesi/public_html/header.php on line 2

Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0