SyntaxFix
Write A Post
Hire A Developer
Questions
Try this
First Page
<?php session_start(); $_SESSION['myvar']='myvalue'; ?>
Second page
<?php session_start(); echo $_SESSION['myvar']; ?>