![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/02/2005, 14:15
|
| | Fecha de Ingreso: febrero-2005
Mensajes: 5
Antigüedad: 20 años Puntos: 0 | |
<?php
$abre = fopen("archivo_texto.txt","r");
$i = 0;
while (!feof($abre)) {
$z = fgets($abre, 5000);
if ($i ==0){
$y = $z;
}
else{
$y = $y.$z;
}
}
fclose($abre);
echo "<textarea name=\"mi_txt\" value=\"$y\" > </textarea>";
?>
debe agregarse a la propiedad value del textarea, la variable que contiene el texto |