Quote:
Originally Posted by longstand
Recently i succesfully created my edit accounts page with file upload!!! When the user is logged in there data automatically appears in the edit account page ussing this code:
- PHP: Select all
// check if session exists and assing it to a variable if (!isset($_SESSION)) { session_start(); } // we can populate the session MM_Username because it is a unique identifier if (isset($_SESSION['MM_Username'])) { $username = $_SESSION['MM_Username']; }
It does not seem to work for me when on my profile page, the user data is not automatically loaded into the profile even with the session code above... Is there any specific reason for this?? 
|
What do you have stored in the session?