One more try...
Code:
$tgp = file('tgp.txt');
$line = current($tgp);
while ($line) {
$field = explode(',',$line);
echo '[a href="' . trim($field[1]) . '"]' . trim($field[0]) . "[/a]\n";
$line = next($tgp);
}
Just replace the [ and ] with < and >
[This message has been edited by altasexa (edited 09-12-2001).]