well, there is a links tree MOD in the Resources section of the Support section. I have never used it but, I might work.
or do something like
Code:
<html>
<head>
<title> new document </title>
</head>
<body>
<table>
<tr>
<td width=15 align=right valign=top>Line#</td>
<td width=100 valign=top>Link</td>
<td width=100 valign=top>City</td>
<td width=100 valign=top>Category</td>
<td width=100 valign=top>Email</td>
<td width=100 valign=top>Phone</td>
<td width=400 valign=top>Desc</td></tr>
<!--#exec cgi="/cgi-bin/links/list.cgi"-->
</table>
</body>
</html>
copy topx.cgi to list.cgi
Change the line: my @data = `tail -999 $db_links_name`;
I used -999
and do something like the following to the foreach section
Code:
foreach (@data) {
$i++;
chomp;
split /\|/;
$_[$db_desc] =~ s,``,<br>,g;
$_[$db_category] =~ s,_, ,g;
($cat, $rest)= split(/\//,$_[$db_category]);
print qq|<tr>
<td width=15 align=right valign=top>$i.</td>
<td><a href="http://www.yoursite.com/cgi-bin/links/jump.cgi?id=$_[$db_key]">$_[$db_title]</a></td>
<td>$_[$db_city] </td>
<td>$rest $cat </td>
<td>$_[$db_contact_email] <a href="mailto:$_[$db_contact_email]">Email</a></td>
<td>$_[$db_phone] </td>
<td>$_[$db_desc]</td></tr>|;
}
Gene "The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."