Greetings,
I've been wracking my brains and searching the posts trying to make this work. I have no doubt there is a simple solution that newbie that I am cannot see.
On one page I create a $_SESSION var but I can't pass it to save my life.
at the moment I have
page1.php
<?PHP
session_start();
more code ....
$_SESSION['thisDay']=$thisDay;
?>
<A HREF="http://www.mescottusa.com/cis291proj/UserDates.php?<?php echo SID?>">submit your selection</A>
I then have UserDates.php
<?PHP
session_start();
print "today is $_SESSION['thisDay']";
code...
?>
Which throws the following error:
Parse error: parse error, expecting T_STRING' orT_VARIABLE' or `T_NUM_STRING' in /home/mescottusa/public_html/cis291proj/UserDates.php on line 3
What am I doing wrong? If anyone has a very simple, rudimentary example I would be ever so grateful.
Many Thanks,
Mary Ellen