As far as I can see there is a major problem. Headers are already being sent because of session_start();
Check this out ::
instead of using "header('Location:AdminOTApproved.php');"
try this: echo "<meta http-equiv='refresh' content='0; URL=AdminOTApproved.php'>";
Will do the same thing. 🙂 But wouldn't send it out through a "header" but more of a Meta Tag. If all else fails just throw the ever popular ::: error_reporting(0);
lol. That will turn off all the errors from PHP. Funny, but it works. LOL
Chad