I used the following code you provided to another user who was having the same "deprecated" error messages on all my pages:
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
which is why line 5 on all my pages is:
<?php require_once('Connections/conn_inventory_i.php'); ?>
The deprecated messages no longer appear, however, every one of my pages is throwing up at least one error message saying:
Warning: Cannot modify header information - headers already sent by (output started at /home/content/29/8748029/html/anypagename.php:5) in /home/content/29/8748029/html/WA_SecurityAssist/Helper_PHP.php on line XX
(where XX = whatever line in the Helper_PHP.php file, and anypage.php:5 all point to the "<?php require_once('Connections/conn_inventory_i.php'); ?>")
Why is my db connection file causing an error saying "header already sent"?