Menu
Can’t figure this out. Need some help.
<?php
require_once $_SERVER[‘DOCUMENT_ROOT’] . ‘/includes/access.inc.php’;
if (!userIsLoggedIn())
{
include ‘../login.html.php’;
// include ‘login.html.php’;
exit();
}
if ($_SESSION[‘msscc’] == 999)
{
// print_r ($
include ‘../inputCompanyid.html.php’;
}
include ‘abcdefg.html.php’;
?>
include for login.html.php works fine, but include for inputCompanyid.html.php does not allow input. the include for abcdefg.html.php is excuted without the companyid input.