Hello,
I am trying to read a txt file for converting it into an array using php.
I want a result like this:
Link Name Link Location
--------- -------------
Index Index.php
Program Program.php
Events Events.php
I know that explode() can read a txt file then convert it into an array, so How do I write the txt file if I want a result as above? Should the txt file be like this:
Index,index.php,Program,Program.php,Events,Events.php
Then How should I use the function? I know the seperator is the ',' but how to convert it into a multidimensional array?
Please help. Thank you very much.
GK