Not at all.
Whatever is the easiest to implement!
Actually, I have a question...why do these following codes not work very well in my Employee Directory:
Code:
if ($rec{Personal} gt $db_default{'Personal'}) {
print qq| <TR><TD VALIGN="TOP" WIDTH="300" BGCOLOR="EEEEEE"><$font_color><B>Personal Homepage:</B></FONT></TD>
<TD WIDTH="300" BGCOLOR="FFFFFF"><$font><a href="$rec{'Personal'}">$rec{'Personal'}</a></Font></TD></TR>|;
}
if ($rec{AreaWeb} gt $db_default{'AreaWeb'}) {
print qq| <TR><TD VALIGN="TOP" WIDTH="300" BGCOLOR="EEEEEE"><$font_color><B>Academic Area/Department/Office<br> Home Page:</B></FONT></TD>
<TD WIDTH="300" BGCOLOR="FFFFFF"><$font><a href="$rec{'AreaWeb'}">$rec{'AreaWeb'}</a></Font></TD></TR>|;
}
It relates to this thread, because you showed Kim about printing certain fields. I have tried the above codes in a variety of formats, but what is printed is the "Description" column with a blank URL column if the record does not have a web page address.
I have my other fields formatted in the same way and they ONLY print out when there is text in the field.
(Sorry about the scrolling text...I tried my best to compact the text into one screen view.)
Hmm...Any thoughts? (Told you I might be back before the weekend.
)
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited August 09, 1999).]
[This message has been edited by Eliot (edited August 09, 1999).]
[This message has been edited by Eliot (edited August 09, 1999).]