Javascript echo via PHP
<pre><code>echo "&lt;br&gt;&lt;font face='Segoe UI' color='blue'&gt;&lt;a href='#' onClick='javascript:alert(".$nam.");return false;'&gt;".$nam."&lt;/a&gt;&lt;/font&gt;";
</code></pre>

<p>I'd like to know if there's any syntax error in the above code. I don't think alert() is being called. </p>

<p>Thanks! </p>
