Hi,
I have a script which displays data from a text file, creating a new html
line for each line in the text file. So far this works.
$array=file("newsarchive.txt");
foreach ($array as $line)
if (ereg("([\t])\t+([\t])$", trim($line), $reOut)) {
echo "$reOut[1]<br>";
}
========
newsarchive.txt
12 News date 12....
13 News date 13....
14 News date 14....
...
However, I would like a different script that would display only a specific
line from that text file, using one of the variables at the beginning of
each line (the number at the beginning in my example). I would call this
specified variable in the URL.
Can anyone help?
Thanks