how can i get my session id working :     if (mysqli_num_rows($result) == 1) {
      	  $_SESSION['id'] = $id;
      	  $_SESSION['success'] = "You are now logged in";
      	  header('location: index.php');
      	}else {
      		array_push($errors, "Wrong username/password combination");
      	}
      }
help me that how can i echo that my session is working or not and how my session is working
