Read a file into an array in PHP
Description
The following code shows how to read a file into an array.
Example
<?php
print_r(file("test.txt"));
?>
The code above generates the following result.
The following code shows how to read a file into an array.
<?php
print_r(file("test.txt"));
?>
The code above generates the following result.