Hello,
I have a dilemma. You see I need a function (logged) to return false if session admin isn't set.
Here is the code
Pretty much I want the function to return false is session admin isn't registred.
How would I go about doing this I try many different things including return true;/false and things.
iNod
I have a dilemma. You see I need a function (logged) to return false if session admin isn't set.
Here is the code
PHP:
function logged() {
if(session_is_registered('admin')) {
}
}
Pretty much I want the function to return false is session admin isn't registred.
How would I go about doing this I try many different things including return true;/false and things.
iNod










