<td><?php $link = '<a href="' ; $link = $link . $row[2] . '">' ; $link = $link . '</a>' ; echo $link ; ?></td> is not working, I want to output $row[2] as a hyperlink as it is the refering URL, but the above is just showing blank in the output, with no link and no text in the output table
You kind of need something between the <a href> and the </a> for you to see a link.
$link = "<a href=\"{$row[2]}\">Click Here</a>";
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php