syntax error unexpected '{' PHP代码错误
<?phpseseion_start();if(isset($_SESSION['SESS_CHANGEID'])==TRUE);{session_unset();ses...
<?php
seseion_start();
if(isset($_SESSION['SESS_CHANGEID']) == TRUE);
{
session_unset();
session_regenerate_id();
}
require("config.php");
$db = mysql_connect($dbhost, $dbuser, $dbpassword);
mysql_select_db($dbdatabase, $db);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML, 401 Transitional//EN"
<head>
<title><?php echo $config_sitename; ?></title>
<link href="../stylesheet.css" rel="stylesheet">
</head>
<body>
<div id="header">
<h1><?php echo $config_sitename; ?></h1>
</div>
<div id="meny">
<a href="<?php echo $config_basedir; ?>">Home</a> -
<a href="<?php echo $config_basedir;?>showcart.php">View Basket/Checkout</a></a>
</div>
<div id="container">
<div id="bar">
<?php
require("bar.php");
echo "<hr>";
if(isset($SESSION['SESS_LOGGEDIN']) == true)
{
echo "Logged in as <strong>" . $_SESSION['SESS_USERBANE']
. "</Strong>
[<a href='" . $config_basedir
. "logout.php'>logout</a>]";
}
esle
{ <--------------这里显示错误
echo "<a href='" . $config_basedir . "login.php'>login</a>";
}
?>
</div>
<div id="main">; 展开
seseion_start();
if(isset($_SESSION['SESS_CHANGEID']) == TRUE);
{
session_unset();
session_regenerate_id();
}
require("config.php");
$db = mysql_connect($dbhost, $dbuser, $dbpassword);
mysql_select_db($dbdatabase, $db);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML, 401 Transitional//EN"
<head>
<title><?php echo $config_sitename; ?></title>
<link href="../stylesheet.css" rel="stylesheet">
</head>
<body>
<div id="header">
<h1><?php echo $config_sitename; ?></h1>
</div>
<div id="meny">
<a href="<?php echo $config_basedir; ?>">Home</a> -
<a href="<?php echo $config_basedir;?>showcart.php">View Basket/Checkout</a></a>
</div>
<div id="container">
<div id="bar">
<?php
require("bar.php");
echo "<hr>";
if(isset($SESSION['SESS_LOGGEDIN']) == true)
{
echo "Logged in as <strong>" . $_SESSION['SESS_USERBANE']
. "</Strong>
[<a href='" . $config_basedir
. "logout.php'>logout</a>]";
}
esle
{ <--------------这里显示错误
echo "<a href='" . $config_basedir . "login.php'>login</a>";
}
?>
</div>
<div id="main">; 展开
威孚半导体技术
2024-08-19 广告
2024-08-19 广告
威孚(苏州)半导体技术有限公司是一家专注生产、研发、销售晶圆传输设备整机模块(EFEM/SORTER)及核心零部件的高科技半导体公司。公司核心团队均拥有多年半导体行业从业经验,其中技术团队成员博士、硕士学历占比80%以上,依托丰富的软件底层...
点击进入详情页
本回答由威孚半导体技术提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询