I am trying to concatenate retrieved data from the database into a table cell and make the URL clickable.
I am using the tag with the an href attribute to achieve that, but for some reason it is not working and I'm presented with a blank table cell. Any idea why?
echo "<tr>" .
"<td>" . $historyData['Name'] . "</td>" .
"<td><a href=\"" . $historyData['URL'] . "\"/a></td>" .
"</tr>";
Also tried
echo "<tr>" .
"<td>" . $historyData['Name'] . "</td>" .
"<td><a href="" . $historyData['URL'] . ""/a></td>" .
"</tr>";
Thanks in advance.