Page 1 of 1
hyperlink a field with MYSQL
Posted: Wed Aug 21, 2002 8:44 am
by rfigley
I need to hyperlink a couple of fields in a row to another couple of links in the same row. Each row has a record of a member's name, thier e-mail address and their web address. How do I do this? Of course I want to use the e-mail and web addresses as the hyperlinks. I'll be hyperlinking their name and business, respectively.
Thanks
Posted: Wed Aug 21, 2002 4:57 pm
by hob_goblin
do you have any code already? if you have a script that prints all the info out, i'd gladly put in the code to make it hyperlink the email and web address
Posted: Wed Aug 21, 2002 5:29 pm
by rfigley
Yes, here's what I have
Code: Select all
while($row = mysql_fetch_array($result))
{
echo "<tr><td> " . $rowї'name'] . "</td><td> " . $rowї'category'] . "</td><td> " . $rowї'business_name'] . "</td><td> " . $rowї'phone'] . "</td></tr>";
}