Fatal error: Smarty error: [in index_index.php line 76]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in D:\wwwweb\webgongxiang\5gongxiang\edu3721\wwwroot\Smarty\libs\Smarty.class.php on line 1092
请问,这是个什么错误
请问,这是个什么错误
{$Name1[section1].name}
{$Name1[section1].id}
{/section} if ($_COOKIE["uname"])
{
if ($_COOKIE["group"]==3)
{?><a href="/member/study_add.php"><?
}
if ($_COOKIE["group"]==4)
{?><a href="/member/teacher_add.php"><?
}
if ($_COOKIE["group"]==5)
{?><a href="/member/course_add.php"><?
}
}
else
{
?><a href="issue.php"><?
}
?>
当运行时,提示说在{?><a href="/member/teacher_add.php"><? 这一行有错误,但上面又没有缺大括号
if ($_COOKIE["uname"])
{
if ($_COOKIE["group"]==3)
{?> <a href="/member/study_add.php"> <?
}
if ($_COOKIE["group"]==4)
{?> <a href="/member/teacher_add.php"> <?
}
if ($_COOKIE["group"]==5)
{?> <a href="/member/course_add.php"> <?
}
}
else
{
?> <a href="issue.php"> <?
}
?>