[Solved] PHP Session ID issue [closed]
You have one fundamental problem: if ( !isset( $_SESSION ) ) $_SESSION = null; if ( ( !is_array( $_SESSION ) ) xor ( !isset( $_SESSION[‘nzshpcrt_cart’] ) ) xor ( !$_SESSION ) ) session_start(); You can’t access the session before it is started. Try starting it and then accessing it… Also xor is a bitwise comparison…I’m … Read more