I am pretty lost here, yeah...
I've tried with $ARET[name], but that only showed the last member...
I run a game at my site,it's that game i want to take to get the username from..
I dont know if this is any help but...
header.php (the games header file)
if ($Username!=""){
$result = mysql_query("SELECT * FROM ".$PA["table"]." WHERE nick='$Username' AND password='$Password' AND closed=0",$db);
if (mysql_num_rows($result)==1) { }
else
{
Setcookie("Username","");
Setcookie("Password","");
Setcookie("Userid","");
Setcookie("Access","");
$Username = "";
$Userid = "";
$Access = "";
Header("Location: index.php");
die();
}
}
I guess my problem here is that i dont know where to look 🙁