I am trying to get a link to open to a blank web viewer page using an echo statement that pulls two variables to create the link.
The following shows my last attempt.
echo "<a target="_blank" href=$link>$media</a>";
I'm getting a syntax error but have gone blank as to where it is.