$Count = 0;
$a = 0;
echo '<center><br><br><table width=400><tr><td class=c colspan=3>Multi konta</td></tr>';
if (in_array($TheUser['user_lastip'],$aUzyteIp)) { $status = doquery("SELECT `status` FROM {{table}} WHERE `username` ='".$TheUser['username']."' OR `nick1` ='".$TheUser['username']."'","zglos",true);
if($status['status'] == 0) {
echo '<tr><th>Multi </th>','<th>', $TheUser['user_lastip'] ,'</th><th> ', $TheUser['username'], '</th><th>',$aNazwa[$a] , '</th></tr>' ;//$aNazwa[$a] ma wyswietlic nazwe z tablicy }
} else {
$aUzyteIp[] = $TheUser['user_lastip'];
$aNazwa[$a] = $TheUser['username']; //tutaj ma zapisac nazwe
}
$Count++;
$a++;
}
Jednak w wyświetlaniu "$aNazwa[$a]" nie ma nic. Bardzo proszę o pomoc, co robię źle?
Ten post edytował Deusx 31.05.2010, 00:34:07