Hello,
I have this code snippet that should pull in the information from my database, in this case username and email address:
<?php if(!empty($_SESSION['LoggedIn']) && !empty($_SESSION['Username'])) { ?> <h1>Member Area</h1> <pThanks for logging in! You are $lt;b><? echo $_SESSION['Username'] ?></b> and your email address is <b><? echo $_SESSION['EmailAddress']?></b>.</p> <?php
The problem is- it does not pull them in and when I test my web page, it will only bring up this:
Member Area
and your email address is
I can verify that the information is stored in the database at this point. What shall I do? Thank you for helping.