30 Program to Get Session Variables in PHP.

Program:

<?php

    session_start();



    $_SESSION["favcolor"] = "green";

    $_SESSION["favanimal"] = "cat";



    echo "Session Variables are SET";

?>


Output:


Program to Get Session Variables in PHP.

Previous
Next Post »