Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/07/2006, 16:16
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Podrias hacer esto:

Código PHP:
<?php
  $id
=array();
  
$m=array();

  
$str "SELECT * FROM fuentes";
  
$res mysql_query($str$link);
  while (
$row mysql_fetch_array($res))
  {
    
$id[] = $row ["id"];
    
$m[] = $row ["nombre"];
  }
?>