I am trying to read from a tsv file and then print the data to the page....but the tsv file's fields tend to change from row to row.
I am putting all of the fields into an array with the getcsv() function.....but how can I print the last value in each array.
Heres the code:
$fp = fopen ($rss,"r");
while ($data = fgetcsv ($fp, 1000, "\t"))
{
$url = $data[0];
$heading = $data[1];
$date = $data[?]; should be last row.can be 6,7 or 8 depending.
}
rgds,
scott d~