Código PHP:
<table width="900" border="1">
<tr>
<?php
$a = $row_prueba['TITULO'];
?>
<?php
for ($i = 1; $i <= 12; $i++){?>
<td><?php echo $a; ?></td>
<?php if ($i % 4 == 0) {
echo "</tr>
<tr>";
}
}
?>
</tr>
</table>
Código PHP:
<?php do { ?>
<?php } while ($row_prueba = mysql_fetch_assoc($prueba)); ?>
Me explico ??