JPD,
In lieu of continually filling up FLThiak's inbox, I want to continue his Again-Alphabetical Listings
www.gossamer-threads.com/scripts/forum/resources/Forum12/HTML/001234.html in my thread here.
Specifically, your response to FLThiak gets me the 26
links I was looking for, but doesn't account for those links when viewing the long record, i.e.,
Code:
# Go through each hit and convert the array to hash and send to
# html_record for printing.
if (($db_total_hits == 1) | | ($maxhits == 1)) {
&html_record_long(&array_to_hash(0, @hits));
}
else {
print qq|<p><$font>Your search for <b>$search_terms</b> returned <b>$db_total_hits</b> matches.
</font>|;
print qq|<P><CENTER>|;
$i = 65;
while ( $i < 91 ) {
print qq| <$font><A HREF="$db_script_link_url&Last Name in School=%5E|;
print chr($i);
print qq|&re=on&view_records=1">[|;
print chr($i);
print qq|]</a></font>\n|;
++$i;
}
print qq|</CENTER></P>|;
if ($db_next_hits) { print "<$font>Pages: $db_next_hits</font>"; }
$i = 1;
print "<table>";
print qq|
<tr></tr>
<tr>
<td width=25%><b><u>Last Name</u></b></td>
<td width=25%><b><u>Married Name</u></b></td>
<td width=25%><b><u>First Name (Nickname) & Spouses Name</u></b></td>
<td width=25%><b><u>Year Grad</u></b></td>
</tr>
<tr></tr>|;
for (0 .. $numhits - 1) {
print "<tr>";
unless ($j) {
print qq|
<tr bgcolor="#DEDCDC">|;
$j = 1;
}
elsif ($j == 1) {
print qq|
<tr bgcolor="#FFFFFF">|;
$j = 0;
}
&html_record(&array_to_hash($_, @hits));
print "</tr>";
++$i;
}
print "</table>";
print qq|<P><CENTER>|;
$i = 65;
while ( $i < 91 ) {
print qq| <$font><A HREF="$db_script_link_url&Last Name in School=%5E|;
print chr($i);
print qq|&re=on&view_records=1">[|;
print chr($i);
print qq|]</a></font>\n|;
++$i;
}
print qq|</CENTER></P>|;
if ($db_next_hits) { print "<$font>Pages: $db_next_hits</font>";}
}
&html_footer;
&html_page_bottom;
in my sub html_view_success, but that only gives me the 1st line as gray, the rest are not alternating, ;-0.
JR
[This message has been edited by joebagodonuts (edited May 08, 2000).]