Tema: xq no HTML?
Ver Mensaje Individual
  #5 (permalink)  
Antiguo 09/09/2002, 19:02
chivi
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 889
Antigüedad: 22 años, 4 meses
Puntos: 4
Re: xq no HTML?

Ánima como te dijeron es porque los arrays comienzan por 0 y no por uno. Vuelve a revisarlo, porque algo tendrás mal:

link.php
---------
<?
$enter= "<br>";
$text = "provando.txt";
$t=file($text);
$li=count($t);
echo $t[0].$enter.$t[1].$enter.$t[2];
?>

provando.txt
--------------
<a href=provando.php>provando</a>
<a href=provando.php>provando2</a>
<a href=provando.php>provando3</a>

Da igual que tenga o no cabeceras HTML. El navegador ya detecta por sí solo los vinculos, imágenes y otros tantos TAGS.

Un saludo.

<html><center><embed src="http://www.iespana.es/redmaestro/banner.swf" height=75 width=500>
</embed></center></html>