<div> <?php session_start(); if(isset($_SESSION['logined']) && $_SESSION['logined']) { echo "<a href='text.php'>"; echo $_SESSION['username']; echo "</a>"; echo "<a>"; echo "注销"; echo "</a>"; }else{ echo "<a href='login.php'>登录</a>"; echo ""; echo "注册"; } ?> </div>
要给注销这两个字添加注销用户的动作,该怎么写?
qq_Clark