deep
08-23-2003, 04:09 PM
Hello!
I got a file named toplist.txt. The text in this file is placed on each and every line like this:
Line1: Volvo
Line2: Saab
Line3: Nissan
Now I need to open this file and extract every line in an array.
It should look like this:
$array[0] = "Volvo";
$array[1] = "Saab";
$array[2] = "Nissan";
How do I do that?
Thanks!
I got a file named toplist.txt. The text in this file is placed on each and every line like this:
Line1: Volvo
Line2: Saab
Line3: Nissan
Now I need to open this file and extract every line in an array.
It should look like this:
$array[0] = "Volvo";
$array[1] = "Saab";
$array[2] = "Nissan";
How do I do that?
Thanks!