Hi
Im trying to get information from a txt file using two different arrays.
I want to store line 1 of the txt file in one array
and line 2 to 7 in another array.
any ideas how i can get started on this
Thanks
I think you could use: file() .
Have a look in the manual at the page via the link above. Hopefully that will point you in the right direction...
thanks.
Hey thanks for the reply
The File() function works me.
to create the second array using file() i need to miss the first line of the txt file so
that my second array only contains data from line 2 to 7
[man]array_shift/man may come in handy.
Thanks for that