Para usar el while podría ser algo así:
Código PHP:
<?
$query = mysql_query($sql,$link);
while ($rs == mysql_fetch_array($query)) {
echo "<table id='tablanoticia' cellspacing='3' width='550'>";
echo "<tr>";
echo "<td colspan='2' align='center' id='ntitulo' valign='top'>";
echo $rs["titulo"];
echo "</td></tr>";
echo "<tr>";
echo "<td colspan='2' align='left' valign='top' id='ncontenido' height='100%'>";
echo $rs["texto"];
echo "</td></tr>";
echo "<tr>";
echo "<td id='plus' valign='bottom'>Añadida el ".CambiaFecha($rs["fecha"],"normal")."</td>";
echo "<td align='center' id='plus' valign='bottom'> por ".$rs["username"]."</td>";
echo "</tr>";
echo "</table>";
echo "</br>";
}
?>
Creo que es más simple que usar el FOR y sus incrementos numéricos ($i+1) y recuentos.
También te recomiendo que en lugar de tanto "echo" cierres el PHP, y lo abras cada vez que tengas la necesidad de mostrar una variable. Simplemente porque queda más limpio el código.
Código PHP:
<?
$query = mysql_query($sql,$link);
while ($rs == mysql_fetch_array($query)) {
//Cierro, empieza el html ?>
<table id='tablanoticia' cellspacing='3' width='550'>
<tr>
<td colspan='2' align='center' id='ntitulo' valign='top'>
<?=$rs["titulo"]?>
</td></tr>
<tr>
<td colspan='2' align='left' valign='top' id='ncontenido' height='100%'>
<?=$rs["texto"]?>
</td></tr>
<tr>
<td id='plus' valign='bottom'>Añadida el <?=CambiaFecha($rs["fecha"],"normal")?>
</td>
<td align='center' id='plus' valign='bottom'> por <?=$rs["username"]?>
</td>
</tr>
</table>
</br>
<? } ?>
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)
Suerte