I am trying to pass on the value of one variable from one PHP page to another PHP page, but for some reason, it's not working..
Here's my code for phpOne.php:
<?php
$x = 100;
$_SESSION['sessionVar'] = $x;
echo "$x";
?>
And here's my code for phpTwo.php:
<?php
$x = $_SESSION['sessionVar'];
echo "$x";
?>
Thanks in-advance! Tom!
session_start()in those pages, too?