This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

PHP Sessions

Get PHP Session Variable Values

Array ( )

// check whether a session has started
<?php
session_start();
?>

// retrieve and display session variables set on previous page
<?php
// Print session variables that were set on previous page
print_r($_SESSION);
?>