Ver Mensaje Individual
  #8 (permalink)  
Antiguo 11/07/2006, 04:24
Avatar de miglos
miglos
 
Fecha de Ingreso: enero-2005
Ubicación: Perú
Mensajes: 235
Antigüedad: 19 años, 3 meses
Puntos: 1
Hmmm..algo mas o menos asi???

$var = array--->"select distinct(idinst) from instalaciones"

foreach $var as idinst
{
select max(sec), etc..
from instalaciones, comercios
where idinst=$var

echo $row[fecha],nombre, etc..
}
__________________
:adios: