Javascript popup link in php : <p><br>
i have this php code:</p>

<pre><code>echo "&lt;div class='show-popup'&gt;&lt;a class='button-popup-container-right' href='javascript:apri('popup.html');' target='_blank'&gt;&lt;i class='far fa-play-circle'&gt;&lt;/i&gt;&amp;nbsp;ASCOLTA LA RADIO&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;"
</code></pre>

<p>but, when i click on the link the path is only "javascript:apri("</p>

<p>I have inserted this script in the footer of the page</p>

<pre><code>function apri(url) { 
    newin = window.open(url,'Player','top=50, left=50,scrollbars=no,resizable=yes,width=400,height=550,status=no,location=no,toolbar=no,nomenubar=no');
} 
</code></pre>

<p>Can anyone help me please?</p>
