Chciałbym uzyskać takie coś:
Kod
<?
$sql = "select * from tabela1 where wynik='$tutaj1' order by id ASC";
$query = mysql_query($sql);
while($dane = mysql_fetch_array($query))
{
print(" <td background=\"skin/img_1/logo/logo_$tutaj1.jpg\" width=\"361\" height=\"171\">");
}
?>
$sql = "select * from tabela1 where wynik='$tutaj1' order by id ASC";
$query = mysql_query($sql);
while($dane = mysql_fetch_array($query))
{
print(" <td background=\"skin/img_1/logo/logo_$tutaj1.jpg\" width=\"361\" height=\"171\">");
}
?>