The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End if stament help Reply To: if stament help


Use an ifelse statement to decide between two actions based on a condition.

if( /* user is logged in */ ){
    /*  show user info  */
    /*  show login form  */

So, how do you know when the user is logged in?