Here is the code I'm using - the value, troop_num, is assisgned as the session variable.
$query = "SELECT troop_num, council_name, campsite_name FROM users WHERE troop_num='$_SESSION['troop_num']";
I keep getting an error while running this query...I finally figured out the right statement to call the variables I need, however I need it to only pull the variables if they belong to that specific session variable...make sense? heh..
Here's the error I'm getting...
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Inetpub\wwwroot\merit\roster.php on line 103
Thanks for the help!