Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/07/2007, 09:10
avrillavigne
 
Fecha de Ingreso: marzo-2005
Mensajes: 17
Antigüedad: 19 años, 1 mes
Puntos: 0
Re: pregunta para leer un archivo .txt

Cita:
Iniciado por osqar Ver Mensaje
$file = file("archivo.txt");
foreach($file as $key=>$val){
$val = trim($val);
if($val){
echo '<a href="'.$val.'" target="_blank">'.$val.'</a><br>';
}
}


no no funciono sale es todos los links linkeado a el mismo link con <br>


osea en html me sale asi


<a href="http://juegos.com<br>
http://google.com<br>
http://web.com<br>">http://juegos.com
http://google.com
http://web.com</a>




:( ayudenme porfa =(