Read text file into an array in one function : Text File Read « File Directory « PHP
- PHP
- File Directory
- Text File Read
Read text file into an array in one function
<?
$line_array = file("test.txt");
echo $line_array[0];
?>
Related examples in the same category