<?php
require 'steamauth/steamauth.php';
require 'steamauth/userInfo.php';
if(isset($_SESSION['steamid']))
/*this gives a error*/
(
$id = $_SESSION['steamid'];
)
/*this gives a error*/
?>
<html>
<head>
<title>Test</title>
</head>
<body>
</body>
</html>我是新来的,我想知道为什么这会产生错误我做了一个基于steam的网站,这是为了登录
(
$id = $_SESSION['steamid'];
)发布于 2017-06-10 22:26:50
用大括号做块。
if( isset($_SESSION['steamid']) )
{
$id = $_SESSION['steamid'];
}https://stackoverflow.com/questions/44474424
复制相似问题