I have a inside my onlinestore.html file which is my menu that contain of Login/Register. What I want is after the success login, the 8条回答 情书的邮戳 (楼主) 2020-12-06 03:33 If you want the username to be displayed instead like in the example you need to change your code for onlinestore.html to the following: ' + $_SESSION["username"] + ' (Logout)'; } elseif($_SESSION['logged']==false) echo 'Login/Register'; ?> 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
inside my onlinestore.html file which is my menu that contain of Login/Register. What I want is after the success login, the 8条回答 情书的邮戳 (楼主) 2020-12-06 03:33 If you want the username to be displayed instead like in the example you need to change your code for onlinestore.html to the following: ' + $_SESSION["username"] + ' (Logout)'; } elseif($_SESSION['logged']==false) echo 'Login/Register'; ?> 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
If you want the username to be displayed instead like in the example you need to change your code for onlinestore.html to the following:
' + $_SESSION["username"] + ' (Logout)'; } elseif($_SESSION['logged']==false) echo 'Login/Register'; ?>