Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/11/2010, 20:34
Avatar de carlos_belisario
carlos_belisario
Colaborador
 
Fecha de Ingreso: abril-2010
Ubicación: Venezuela Maracay Aragua
Mensajes: 3.156
Antigüedad: 14 años
Puntos: 461
Respuesta: reporte por mes

has un select con date format de esta manera
Código MySQL:
Ver original
  1. SELECT * FROM tabla WHERE date_format(fecha,'%Y-%m')='2010-11';
suerte
__________________
aprende d tus errores e incrementa tu conocimientos
it's not a bug, it's an undocumented feature By @David
php the right way