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. 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>'; } 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. 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.. Link to comment https://forums.phpfreaks.com/topic/72046-hiding-links/#findComment-363070 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.