marblestech Posted May 24, 2012 Share Posted May 24, 2012 Hey there, i was wondering how to define a session variable with MYSQL Data, the code for the session so far is : $_SESSION['rank'] = 1; $_SESSION['name'] = "Daniel Mace"; $_SESSION['uri'] = $result['uri']; but this needs to be dynamic for multipule users and not static data. Thanks For Any Replies. Daniel Mace Marblestech Quote Link to comment https://forums.phpfreaks.com/topic/263067-getting-mysql-data-into-a-session/ Share on other sites More sharing options...
requinix Posted May 24, 2012 Share Posted May 24, 2012 $_SESSION['session key'] = $variable; Am I missing the question? Quote Link to comment https://forums.phpfreaks.com/topic/263067-getting-mysql-data-into-a-session/#findComment-1348429 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.