Php login panel
<p>I have developed a small application. I created a login panel for it. I have only one user so, I hard coded both user name and password. Below is the code but it is not working.I don’t have any db for this bcoz, it will have only 1 user.
Any help ii be appreciated.
Thanks in advance.</p>

<pre><code>&lt;?php    
if(($_POST['na'] = 'admin') == ($_POST['pwd'] = 'zucker'))
{
    header("location:first.php");
}
else
{
    header("location:index.php?msg=enter correct user name and password");
}    
?&gt;
</code></pre>
