Ver Mensaje Individual
  #10 (permalink)  
Antiguo 09/11/2006, 13:17
Avatar de Erikfrancisco
Erikfrancisco
 
Fecha de Ingreso: noviembre-2003
Ubicación: Estado de México
Mensajes: 503
Antigüedad: 20 años, 5 meses
Puntos: 4
Cita:
Iniciado por chalchis Ver Mensaje
la solucion es yo creo quitar el campo ID_FOTO como lo indico el amigo sergi_climent
No necesariamente, lo que sucede es que faltó agrupar por EVENT_FOTO, mira prueva con esta consulta:
Código PHP:
$res mysql_query"SELECT ID_FOTO, EVENT_FOTO FROM atributos_imagenes GROUP BY EVENT_FOTO HAVING EVENT_FOTO LIKE '".$letters."%'" ) or die( mysql_error() ); 
En teoría debería funcionar. Hay luego me cuentas que tal te fue. Suerte