人中心 session_start();
if(!isset($_SESSION['UID'])){
header("Location:login.html");
exit();
}
include('conn.php');
$userid = $_SESSION['UID'];
$ユーザー名 = $_SESSION['ユーザー名'];
$user_query = mysql_query("select * from zhuce where Uid=$userid limit 1");
$row = mysql_fetch_row($user_query);
echo '用户情報:
';
echo '用户ID:',$userid,'
';
echo '用户名:',$username,'
';
echo '邮箱:',$row['Mail'],'
';
echo '出生日期: ',$row['Birthday'],'
';
echo '固定電话: ',$row['Phone'],'
';
echo '手机: ',$row['Mobile_telephone'],'
';
echo '注册日期: ',$row['Date'],'
';
echo
注销 登录
';
?>