joeysarsenal Posted October 6, 2007 Share Posted October 6, 2007 Im not sure how it can be done, but i just want lets say my shopping link (Button) to be seen only if your logged in. Im just not sure how how to go about doing this. Quote Link to comment https://forums.phpfreaks.com/topic/72046-hiding-links/ Share on other sites More sharing options...
teng84 Posted October 6, 2007 Share Posted October 6, 2007 if you use session then if (isset($_SESSION['name'])){ echo '<a href="#">#</a>'; } Quote Link to comment https://forums.phpfreaks.com/topic/72046-hiding-links/#findComment-363061 Share on other sites More sharing options...
joeysarsenal Posted October 6, 2007 Author Share Posted October 6, 2007 thanks for the quick reply, would that go when im authicating the password, or checking if password is correct. Quote Link to comment https://forums.phpfreaks.com/topic/72046-hiding-links/#findComment-363068 Share on other sites More sharing options...
teng84 Posted October 6, 2007 Share Posted October 6, 2007 yes maybe i cant say because i havent seen how you code your login etc.. Quote Link to comment https://forums.phpfreaks.com/topic/72046-hiding-links/#findComment-363070 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.