Kod
<?php
$spr = $db->query("SELECT * FROM bman_wiadomosci WHERE udo ='".$gracz['uid']."' Order By uid Desc"); // 2 linia
while($g = $spr->fetch_assoc()) { //4 linia
if($g['ustatus'] ==1) $czytaj='<b>'.$g['utemat'].'</b>'; //6linia
else $czytaj=''.$g['utemat'].'';
echo'
<tr>
<td width="350px"><a href="?str=wiadomosci&akcja=czytaj&temat='.$g['uid'].'">'.$czytaj.'</a></td>
<td>'.$g['udata'].'</td>
</tr>
';
}
$spr = $db->query("SELECT * FROM bman_wiadomosci WHERE udo ='".$gracz['uid']."' Order By uid Desc"); // 2 linia
while($g = $spr->fetch_assoc()) { //4 linia
if($g['ustatus'] ==1) $czytaj='<b>'.$g['utemat'].'</b>'; //6linia
else $czytaj=''.$g['utemat'].'';
echo'
<tr>
<td width="350px"><a href="?str=wiadomosci&akcja=czytaj&temat='.$g['uid'].'">'.$czytaj.'</a></td>
<td>'.$g['udata'].'</td>
</tr>
';
}
jak to rozwiązać?