i know i need to use session logged in user id and do jot know how or the other way is to pull data from feild name balance where logged in user id matches then gets there balance somehow either way i end up back to this problem and do not know how to get around it but it must be setup so that they can only resaults that concern them if this makes sense how is this possible on other sites that might need this?
the loggin should set the var $id with the following
$_SESSION['user_id']= $id;
$_SESSION['user_name'] = $full_name;
$_SESSION['user_level'] = $user_level;
$_SESSION['HTTP_USER_AGEN T'] = md5($_SERVER['HTTP_USER_AGEN T']);
$_SESSION['session_name'] = $user_name;
$_SESSION['balance']= $balance;
any ideas why this would not be the case and a way to resolve this?
the loggin should set the var $id with the following
$_SESSION['user_id']= $id;
$_SESSION['user_name'] = $full_name;
$_SESSION['user_level'] = $user_level;
$_SESSION['HTTP_USER_AGEN T'] = md5($_SERVER['HTTP_USER_AGEN T']);
$_SESSION['session_name'] = $user_name;
$_SESSION['balance']= $balance;
any ideas why this would not be the case and a way to resolve this?
Comment