I am trying to make a link with PHP and I am not sure what is wrong with this code.
$product_list .= "\n\r " . 'Ticket Download: ' . ": " . <a href=$single_link["url"]>($single_link['name'])</a> . "\n\r";
I know the issue is with the link (meaning between the opening and closing html tags). What am I doing wrong?
Edit: I have tried using the code you have all provided, and I still can’t get it to work. I am not sure why.
1 Answer