Ver Mensaje Individual
  #8 (permalink)  
Antiguo 27/07/2008, 00:22
StReO
 
Fecha de Ingreso: agosto-2006
Ubicación: MiCasa-Valencia-España
Mensajes: 116
Antigüedad: 17 años, 8 meses
Puntos: 0
Respuesta: Error Con mysql_fetch_array

Ya he visto el fallo, sin embargo no sabría como arreglarlo.

Cuando pongo una id en el LIKE del select me muestra el contenido:
Cita:
SELECT * FROM 8s8z_config WHERE NidConfig LIKE '1';
Sin embargo con varias id no, y he probado de las siguientes formas:
Cita:
SELECT * FROM 8s8z_config WHERE NidConfig LIKE '2,4,5,6,7,8,9,10,11';
y
SELECT * FROM 8s8z_config WHERE NidConfig LIKE '2' and NidConfig LIKE '4' and NidConfig LIKE '5'.....;