Ver Mensaje Individual
  #13 (permalink)  
Antiguo 17/03/2011, 14:16
Avatar de bUllan9ebrio
bUllan9ebrio
 
Fecha de Ingreso: enero-2011
Ubicación: Chile
Mensajes: 1.128
Antigüedad: 14 años, 1 mes
Puntos: 128
Respuesta: ayuda porfavor amigos

Prueba con esto

Código PHP:
Ver original
  1. for ( $i = 1 ; $i <= 12 ; $i ++)
  2.       {
  3.           $sql=mysql_query("select COUNT(month(fecha)) as cantidad from alguna where month(fecha) = $i",$con);
  4.           echo "<td>cantidad</td>";
  5.       }