Hello people, I am new to php and i need to know how to show the current logged in username anywhere on my restricted page. My login.php page processes it self and the page that checks the login is called functions.php. The restricted page includes the following code on the top.
The functions.php page has the following code.
and the login has the following code.
Now if you guys need to check all the code to figure out how to do it then feel free to do so.
Now the restricted page is the following...
Now i want the username to appear right next to the welcome message on line "38".
Thanks in advance!