Jump to content

How come?


Deivas

Recommended Posts

It will always echo out the username provided the session variable $_SESSION['username'] exits. Whenever working with sessions always add session_start at the top of every page. You probably didn't do this in your "other directory" that is what it doesn't display the username.

Link to comment
https://forums.phpfreaks.com/topic/194425-how-come/#findComment-1022699
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.