hyperlink in results apge

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
timinator
Forum Newbie
Posts: 5
Joined: Thu Nov 06, 2003 11:13 am

hyperlink in results apge

Post by timinator »

Hi, in my results page I have set up a table to receive data. How do I get one of the fields apperar as a hyperlink? These are the field names:
MLA_NO, NAME, STREET, CITY, STATE, ZIP, PHONE, FAX, IP_ADDR
I would like IP_ADDR to appear as a hyperlink

thanks

Here is the code just below the table setup:

while ($get_info = mysql_fetch_row($result)){
print "<tr>\n";
foreach ($get_info as $field)
print "\t<td nowrap bgcolor=#669966><font color=#FFFFFF>&nbsp<font face=arial size=1/>$field</font></td>\n";
print "</tr>\n";
}
print "</table>\n";
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

this should help :

viewtopic.php?t=14226
Post Reply