how can i get the value of a session php code example
Example 1: php session variables
<?php
session_start();
$_SESSION['var'];
?>
Example 2: echo session
print_r($_SESSION);
<?php
session_start();
$_SESSION['var'];
?>
print_r($_SESSION);