
28/10/2010, 05:01
|
| | Fecha de Ingreso: noviembre-2009
Mensajes: 113
Antigüedad: 15 años, 3 meses Puntos: 0 | |
Respuesta: Saber el mes actual y ponerlo en uan variable $query_ventitas = "SELECT * FROM ventas WHERE fecha_hora=>'$fecha_inicio' AND fecha_hora<='$fecha_fin' ";
ahi tienes mal los filtros. van asi: >= and <=
o usas beetwen |