Hello, I am trying to pull records from a database that are actually URLs. However, when they display I want them to be active links. I can't seem to get it to work. Can anyone help? echo <a href="$row[1]">$row[1]</a><br>; PHP:
echo "<a href=".$row[1].">".$row[1]."</a><br>"; or echo "<a href=\"".$row[1]."\">".$row[1]."</a><br>"; i hope it helps Regards Alex
It should be [PHP] echo "<a href="$row[1]">".$row[1]."</a><br>"; or <a href="<?php echo $row[1]; ?>"><?php echo $row[1]; ?></a><br>; PHP: