Printing anchor link in results
| From: | Achieve IT | Date: | Fri, 21 Mar 2003 13:11:08 +0000 |
| Subject: | Printing anchor link in results | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26542@lists.php.net to get a copy of this message | ||
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.