$heading\n"; $f = fopen($file,"r"); while($array = fgetcsv($f,5000,"\t")) { list ($title,$author,$bib) = $array; echo"

$title"; if (!empty($author)) echo" by $author"; echo"

\n"; } fclose($f); ?>