PHP Embedded in Javascript
<p>in my project I have the situation like this.</p>

<pre><code>&lt;script language="JavaScript"&gt;
function fonsubmit()
{
    alert('Out side PHP');
    //Here the php code starts 
    include("customerpage.php");
    $cc="us";
    $clang="en";
    $cpath="us"; 
    some coding goes here......
    Php ends here
}
&lt;/script&gt;
</code></pre>

<p>But it shows Object expected error. What is wrong in this? But I give only PHP tag it won't generate any error. Please help me to find out this issue, thanks in advance...</p>
