it's very simple, if you make the 6 rows in the (prefix)_users then u can get them by using.
|
Code:
|
getusrinfo($user);
$userinfo['myvar1'];
$userinfo['myvar2']; |
I preffer this way because is more fast and it doesn't need all those functions to get the cookies etc. Like i did in my project one global getusrinfo($user); so it won't need it all the time and i'm setting the $userinfo array as global.