Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/03/2007, 11:12
Avatar de gerson
gerson
 
Fecha de Ingreso: febrero-2005
Ubicación: Lima
Mensajes: 481
Antigüedad: 20 años
Puntos: 4
Re: Asociar arrays

Hola korg1988 haber si esto te sirve:
Código PHP:
$ids explode(',',$resul['ids_instrum']);
for (
$i=0;$i<sizeof($ids);$i++){
    
$res mysql_query("SELECT id,instrumento FROM instrumentos WHERE id = " $ids[$i]);
    
$reg mysql_fetch_array($res);
    echo 
$reg['instrumento'];    

Saludos
__________________