php code for "if logged in" vs "if not logged in"
PermalinkI have the searchbox and login box all coded up, so presumably I can just put the correct bits in the corresponding spaces where you have your //comments ...is that right?
This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.
The other way is ($u->getUserID()!='')//this means they are logged in. I think the above way is better.
Or did you also want the code for login and search box?