PHP-Code:
while($rob = mysql_fetch_assoc($query_b))
{
$besitzer_ud = $rob['besitzer'];
$sql = @mysql_query("SELECT * FROM rul WHERE Username = '$besitzer_ud'");
}
echo("<table border=\"1\" cellpadding=\"1\" cellspacing=\"3\" width=\"100%\"");
echo ("<tbody>");
echo("<tr><th align=center><u>Username</u></th><th align=center><u>Rang</u></th><th align=center><u>Email</u></th><th align=center><u>letztes Login</u></th></tr>");
while($row = mysql_fetch_assoc($sql))
{
$Username = $row['Username'];
$Email = $row['Email'];
$Rang = $row['Rang'];
$last_login = $row['last_login'];
echo("<tr><th align=center><a href=user_info.php?username=$Username target=frame_center>$Username</a></th><th align=center>$Rang</th><th align=center>$Email</th><th align=center>$last_login</th></tr>");
}
Thx schonmal im vorraus
T
Kommentar