Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/09/2009, 16:23
ppnet
 
Fecha de Ingreso: julio-2008
Mensajes: 133
Antigüedad: 15 años, 10 meses
Puntos: 1
Contador sencillo

Tengo problemas con un contador PHP... resulta que tengo esto:

http://www.pinchapasion.net/site/resumenes.php

Yo quiero que se haga un Fecha 1, Fecha 2, Fecha 3, etc... en las filas que se generan automaticamente.

El codigo es este:



Código PHP:
 <?
                    
//// noticia por categoria - sistema hecho por pinchapasion.net ///////////////////////////
                
                    
$qubrt "SELECT * FROM berita where kat_id='20' ORDER BY id DESC limit 100";
                    
$qbrt = @mysql_query($qubrt,$connect) or die ("Wrong Query");
                    while (
$rbrt mysql_fetch_array ($qbrt)) {
                        
$count "1";
                                
?>
            <tr class="mouseover">
              <td class="Cell_s1">Fecha <? echo "$count"?></td>
              <td class="Cell_s2"><a href="novedades/berita.php?view=detail&amp;id=<?=$rbrt[0]?>" class="titulosubnoticia" title="<? echo "$rbrt[1]"?>"><? echo "$rbrt[1]"?></a></td>
            </tr>
            <?
                    
}
                        
$count++;    
                                
?>

Y me salta Fecha 1, fecha 1, fecha 1, y asi...

Que estoy haciendo mal ?

Saludos