Hi there. I have an include statement that is conflicting with my program. In the statement below you can see if I comment out the include statement the IF statements work. If I place the include statement back into the program the IF statements don't calculate anything and the program continues. I need some help. Why is this happening???
if(!$getuserline[realname])
{
header("Location: login.php");
}
else
// {
// include ("navibar.inc.php");
//
// }
if($radiogo =="insert")
{
header("Location: shipsingle.php");
}
elseif($radiogo =="update")
{
header("Location: static.php");
}
elseif($radiogo =="viewall")
{
$query= "SELECT * FROM shiplist WHERE quantity > 0 AND store = '$store' ORDER BY date";
mysql_query($query) or print(mysql_error());
$getstorearray=mysql_fetch_array($query, MYSQL_ASSOC) or print(mysql_error());
echo $getstorearray;
}