Thank you for your quick answer.
Here is the code DWMX generates (I have cleaning "show ifs" and another adds)
<table>
<?php do { ?>
<tr>
<td><img src="<?php echo $row_idioma_es['fotow']; ?"></td>
</tr>
<?php } while ($row_idioma_es = mysql_fetch_assoc($idioma_es)); ?>
</table>
Then, studying your code I made some change that worked.
<table>
<?php do { echo "
<tr>
<td><img src='" . $row_idioma_es['fotow']."'></td>
</tr>";
} while ($row_idioma_es = mysql_fetch_assoc($idioma_es)); ?>
</table>
Finally I substituted the echo line but it didn´t work.
Please tell me what´s wrong. Thank you very much.
<table>
<?php do {
$cnter = 0;
while (more record stuff)
{
if ($cnter == 0) echo "<tr>";
//standard stuff
echo "<td><img src='" . $row_idioma_es['fotow']. "'></td>";
if ($cnter == 4)
{
echo "</tr>";
$cnter = 0;
}
else $cnter++;
}
} while ($row_idioma_es = mysql_fetch_assoc($idioma_es)); ?>
</table>