i've successfully developed a page where i can echo a
$_SESSION['SESS_MEMBER_ID'] and display the member id of a person who is logged in. however i need to display all the data of two mysql databases that are relational.
$sql = "SELECT * FROM `members`.`players` WHERE `member_id` = 3 LIMIT 0, 30 "this is the code i currently have;
I need to replace the "member_id" and the "3" to work with the
$SESSIOn_Member_id by binding it to a variable and querying with it. can someone prepare this statement and revise my sql query and demonstrate the session binding to a varible?