in reply to Re: Database links
in thread Database links

Eh? You want to make your anchor display the text of $fields[0], rather than displaying a gif?

print "<a href=whatever>$field[0]</a>";

Although, in general, you ought to have a look at using some module (CGI being the usual one) to handle this, as you'll be in trouble if $field[0] happens to contain any HTML specific characters (such as <). From your description of your data, you'll be ok in this case, but use CGI; is a good habit to get into.

--
Tommy
Too stupid to live.
Too stubborn to die.

Replies are listed 'Best First'.
Re: Re: Re: Database links
by vorteks (Acolyte) on Aug 09, 2002 at 03:12 UTC
    OOPS...
    I meant
    {print"<td bgcolor=$bgclr><font size=\"-2\"><a href=http://www.whatever.com/cgi-bin/query_call.cgi?call=$fields[0]>$fields[0]</a></td>\n";}