mattsmith Posted April 14, 2015 Report Share Posted April 14, 2015 Could someone tell me the code for showing certain tabs when someone is logged in and when someone isn't logged in? Thanks Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 14, 2015 Administrators Report Share Posted April 14, 2015 I think this is what you are looking for <?php if(Auth::LoggedIn()) { //do stuff if the user is logged in } else { //do stuff if they are not logged in } ?> Quote Link to comment Share on other sites More sharing options...
mattsmith Posted April 14, 2015 Author Report Share Posted April 14, 2015 Thanks Quote Link to comment 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.