Hi
I have a DB that contains URL’s - I need to display these URL’s on the webpage so readers can click on them and link to the relevant page but after many days of trying I am at a loss as to how to code the a href tag within the php code.
below is a snippet of the code i am using and I need to wrap the a href tag around the ".$row[“link”].
I appreciate any help with this
Thanks in advance
[php]$sql = “SELECT link, address, description, price FROM reales WHERE suburb=‘Morley’”;
$result = $conn->query($sql);
if ($result->num_rows > 0) {
echo “
“.$row[“link”].” | “.$row[“address”].” | “.$row[“description”].” | “.$row[“price”].” |