Hi all,
Help. This is fairly basic but I want to get this right.
I need to find a script that will read a text file. (I do not need to use a database). The file will list the members name their website address. This file have only two columns of data and around 50 rows.
Then I need to print the output of the array into a html table with two columns. I also need to alternate the colours of every outputted row in the html table within the output of the script.
The pages can be found at this location
DLF.org.au - Members .
The issue here is that I need to display the output of the array (which I think is only a one dimensional possiblity) in two table cells and then repeating this in another html table row with different formating (like colour) and then repeating this again utnil the whole text file is read. In CMFL scripting this is known as a repeat region. How can I do this in PHP.
I am asking this as it is taking me forever to find something on line and I am new to PHP.
Please help
Charlie