![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/05/2005, 15:09
|
![Avatar de Pazosele](http://static.forosdelweb.com/customavatars/avatar92616_1.gif) | | | Fecha de Ingreso: marzo-2005 Ubicación: BCN - España
Mensajes: 200
Antigüedad: 19 años, 11 meses Puntos: 0 | |
mete la fecha de inicio y final en variables
por ejemplo:
$ini="25/05/2005 12:10"
y la consulta asi:
SQL1="SELECT * FROM Log_ingresos where fecha between '$ini' and '$fin' "
***no se seguro si la comilla simple es necesaria.. peormas o menos es eso
__________________ Share our Knowledge! Adura Vita! |