$tnum = "Five";
$file = "Cups.txt";
$found = FALSE;
$desc = find_desc($tnum, $file);
echo $desc;
function find_desc($text, $file)
{
$lines = file($file);
foreach ($lines as $line_num => $line) {
$linenum = (int) $line_num;
$linenum++;
$t = strpos($line, $text);
if ($found === TRUE)
{
echo $line;
}
if($t !== false)
{
$found = TRUE;
}
}
}
?>[/code]
Not tested it, but it *should* work



