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:
Code:
<?php
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>";
}
else
{
echo 'Welcome' . 'back' . ' ' . $_SESSION['username'] . '!';
}
?>
this is will echo the sentence with the correct username, however, i do not have my css style attached to it..
any help is much appreciated!