this is the way i did it when they loged in i made a link that said enter the link said enter.php?username=$user
so that the vairable user was following into the enter page so i could use it here like this :
Code: Select all
$userfromurl=$_GET['username'];
$sql="SELECT * FROM gameinfo WHERE username ='$userfromurl'";but someone could jus change the username and view ther stuff
please could someone help do this in some other way
thanks reece