
mam kod
[php:1:f0048a394e]<?php
$wykonaj=mysql_query("SELECT * FROM forum_a") or die(mysql_error());
while($forum_a=mysql_fetch_array($wykonaj))
{
echo"
<center>
<table border='1' cellpadding='0' cellspacing='0' bordercolor='#111111' width='679' height='28'>
<tr>
<td width='459' height='28' bgcolor='#FFFF00'>$forum_a[nazwa]</td>
<td width='68' height='28' bgcolor='#FFFF00'> </td>
<td width='71' height='28' bgcolor='#FFFF00'> </td>
<td width='73' height='28' bgcolor='#FFFF00'> </td>
</tr>
</table>
</center>
";
$wykonaj2=mysql_query("SELECT * FROM forum_b");
while($forum_b=mysql_fetch_array($wykonaj2));
{
echo"
<center>
<table border='1' cellpadding='0' cellspacing='0' bordercolor='#111111' width='679' height='28'>
<tr>
<td width='46' height='28'>img</td>
<td width='412' height='28'>$forum_b[nazwa] || $forum_b[moderatorzy]</td>
<td width='68' height='28'> </td>
<td width='71' height='28'> </td>
<td width='73' height='28'> </td>
</tr>
</table>
</center>
";
}
}
?>[/php:1:f0048a394e]
i pierwsza petle wykonuje jak nalezy, druga niby tez, ale nie pobiera danych z bazy, choc dane na pewno sa, zadnego errora nie pokazuje...