i can not do it as in the 2nd piece of code (its an example of what i want) and i can not find the info doing a search for the list function
$sql2= "SELECT country, GROUP_CONCAT(name ORDER BY country SEPARATOR '<br>') as name
FROM tanks_owned
where player = '$player'
GROUP BY country";
$result2=mysql_query($sql2);
while (list($country, $name) = mysql_fetch_row($result2)) {
echo "<div style='width:90px; padding:5px; float:left;'>
<h4><img src='./icon/country/$country.png'></h4>$name
</div>";
}
$sql2= "SELECT country, GROUP_CONCAT(name ORDER BY country SEPARATOR '<br>') as name
FROM tanks_owned
where player = '$player'
GROUP BY country";
$result2=mysql_query($sql2);
while (list($country, $name) = mysql_fetch_row($result2)) {
echo "<div style='width:90px; padding:5px; float:left;'>
<h4><img src='./icon/country/$country.png'></h4><img src="./icon/tank/'.$country.'-'.$name6.'.png"/>
</div>";
}












