I did search quite a bit but didn't find this specific topic.
Here's what I'm trying to do. I have a text file that the user can modify and specify certain values.
i.e.
assignment1 = yes
assignment1Name = "Build a Bear"
assignment1Date = "01/01/2010"
assignment1value = "100"
assignment2 = no
assignment2Name = "Build a Tiger"
assignment2Date = "01/01/2010"
assignment2Value = "10"
Now the php file will read this txt file and based on the yes/no value it will either display the that assignment or not. What I'm thinking is to put the whole text file in an array with 2 columns. the item name and it's value. then based on the values display it on the page.
I can put each line in an array but not sure how I would break it up into 2 columns. Then reading the yes no value and displaying the rest.
any suggestions appreciated.
Thanks.