It's basic HTML: > echo "\n<tr>\n\t<td bgcolor=\"silver\">" . "<b>Web: </b><a href=\"www.mycompany.com\">". //changed this line > $arr['web_pro']. "</a></td> //changed this line > <td bgcolor=\"silver\">" . > "</td> > \n</tr>"; Hope that's what you were looking for. Rich > -----Original Message----- > From: Achieve IT [mailto:info@achieve-it.com] > Sent: Friday, March 21, 2003 8:11 AM > To: php-db@lists.php.net > Subject: Printing anchor link in results > > > Hello, > I am new to PHP and am wondering how to print a variable an > external link. > In the example below, the 'web_pro' variable has the format, > www.mycompany.com . How can I make this a clickable link? > > echo "\n<tr>\n\t<td bgcolor=\"silver\">" . > "<b>Web: </b>" . > $arr['web_pro'] . > "</td> > <td bgcolor=\"silver\">" . > "</td> > \n</tr>"; > > Thanks, > Declan. > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php