I Need to initialise PHP variable inside the javascript function?
<p>The above code is an javascript function . I need to initialise PHP variable in the else part</p>

<pre><code>function validate() {
    if(document.loginForm.vuser_login.value==""){
        alert("Login Name name cannot be empty");
        document.loginForm.vuser_login.focus();
        return false;
    } else if (document.loginForm.vuser_password.value=="") {
        alert("Password cannot be empty");
        document.loginForm.vuser_password.focus();
        return false;
    } else {
        //Here i need to initialise PHP variable ......
        return true;
    }
}
</code></pre>
