Help registering session variables then echo
FIXED THE SESSION VARIABLES. NOW,
I am trying to figure out how to echo an html p element with the $_SESSION variable within the paragraph element
here's my code so far:
this is will echo the sentence with the correct username, however, i do not have my css style attached to it..
if (!isset ($_SESSION['username']))
echo "<a id='reglink' href='register.html' alt='Register'>Register</a>
<a id='loginlink' href='login.html' alt='Login'>Login</a>";
echo 'Welcome' . 'back' . ' ' . $_SESSION['username'] . '!';
any help is much appreciated!