Codice PHP:

$counter
=1;

echo 
"<tr>";
while (
$row_lista mysql_fetch_assoc($Result_lista))
  {
  echo 
"<td>{$row_lista["thumbnail"]}</td>";
  if (
is_int($counter/2)) echo "</tr><tr>";
  
$counter++;
  }
echo 
"</tr>"