Read text file into an array in one function : Text File Read : File Directory PHP Source Code


PHP Source Code » File Directory » Text File Read »

 

Read text file into an array in one function



<?
$line_array = file("test.txt");
echo $line_array[0];

?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» Text File Read