max613 Posted April 1, 2008 Share Posted April 1, 2008 What's wrong with this: http://cc.jct.ac.il/~max/1.php (and the following link)? The code looks like this: --Page 1.php-- <?php session_start(); $_SESSION['bla'] = "cool"; echo "<a href=\"2.php\" style=\"font-size:30pt;\">next page</a>"; if(isset($_SESSION['bla'])) echo $_SESSION['bla']; else echo "noooooooooooo"; ?> --Page 2.php-- <?php session_start(); if(isset($_SESSION['bla'])) echo $_SESSION['bla']; else echo "noooooooooooo"; ?> Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/99041-solved-super-newb-question/ Share on other sites More sharing options...
wildteen88 Posted April 1, 2008 Share Posted April 1, 2008 This looks like a file type issue. Make sure you are saving the file with ANSII encoding Quote Link to comment https://forums.phpfreaks.com/topic/99041-solved-super-newb-question/#findComment-506782 Share on other sites More sharing options...
max613 Posted April 1, 2008 Author Share Posted April 1, 2008 it worked! Thanks Quote Link to comment https://forums.phpfreaks.com/topic/99041-solved-super-newb-question/#findComment-506783 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.