PHP and JS within HTML
<p>This is what I am trying to do:</p>

<p>I have a data.php page.</p>

<p>In this page I have mostly HTML. Within the HTML I have some PHP code, designated by</p>

<pre><code>&lt;?php   

?&gt;
</code></pre>

<p>Now, I am trying to insert JavaSript with in the PHP; something like below:</p>

<pre><code>&lt;?php   
     &lt;script type="text/javascript"&gt;

     &lt;/script&gt;

?&gt;
</code></pre>

<p>But I get 'syntax error' notification from Adobe Dreamweaver.</p>

<p>What am I doing wrong here?</p>

<p>Thanks for any help.</p>
