Thank you very much Whitey!
I am new to php, and I had the following question:
I know that to see if the user is logged in I use the following code:
echo "Display to member";
What i want to do is say "Welcome, (and the user's name)"
How do I get php to actually print the person's name.
I tried using this code
$myusername = $_SESSION[myusername];
and then simply saying
echo "Welcome, " .$myusername;
but that doesnt work
I would really appreciate it if someone could help me.
Thank you in advance
$myusername = $_SESSION['myusername'];
I use ucfirst becuase it will cap the first letter of the word. Makes it neater