Code has been added to clipboard!

Changing Variables in PHP Sections

Example
<?php session_start(); ?>
<!DOCTYPE html>
<html>
  <body>
  <?php 
    //you can change a session variable by asigning a new value
    $_SESSION["color"] = "red";
    print_e($_SESSION);
  ?>
  </body>
</html>