Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/09/2002, 12:38
Avatar de Wakkos
Wakkos
Colaborador
 
Fecha de Ingreso: octubre-2001
Ubicación: (cerca)
Mensajes: 1.795
Antigüedad: 22 años, 6 meses
Puntos: 59
Re: Seleccionar un registro por cada categoría

Cluster!! cool!
pero oye, en el resultado, me imprime dos de la misma categoría si aumento el 'LIMIT', la verdad, no entiendo nada!

<a href='ir.asp?http://www.artreves.com/wakk/photo/' target='_blank'>http://www.artreves.com/wakk/photo/...</a>
Allí puedes ver, la segunda frase es la categoría (weee, PHOTOS, etc)
Y el select actual va así:

Código:
$query_select = &quot;select wakk_gallery.imagen, wakk_gallery_cat.categoria FROM wakk_gallery,wakk_gallery_cat WHERE wakk_gallery.categoria = wakk_gallery_cat.categoria LIMIT 5&quot;;
<div style="color:#000;font-family:Verdana;font-size:10px;">Wakkos<br><a href="http://www.artreves.com/wakk/clickcount/clic.php3?url=www.artreves.com/wakk/index.php" style="font-size:9px;color:#e1470b;">follow the white rabbit</a></div>