$Count = 0; $a = 0; $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?