in reply to Re: Database links
in thread Database links
The rest is irrelevant as what I need to know is the correct format to make the text of $fields[0] in the last line THE submission instead of red.gif and preferably without an image.@table_fields = "field1","field2","field3","field4"); foreach $table_fields (@table_fields) {print"<th bgcolor=#7777CC><font color=#000000><font s +ize=\"-1\">$table_fields</th>\n";} print"</tr>\n"; open (DATABASE, "$database"); while ($inLine = <DATABASE>) { $line=$inLine; { @fields = split(/\|/,$line); {print"<td bgcolor=$bgclr><font size=\"-2\">$fields[6] +</td>\n";} {print"<td bgcolor=$bgclr><font size=\"-2\">$fields[8] +</td>\n";} {print"<td bgcolor=$bgclr><font size=\"-2\">$fields[0] +<a href=http://domain.com/cgi-bin/query_call.cgi?$fields[0]><img src= +../images/red.gif></td>\n";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Database links
by tommyw (Hermit) on Aug 08, 2002 at 21:48 UTC | |
by vorteks (Acolyte) on Aug 09, 2002 at 03:12 UTC |