i can not understand why is showing "Wrong Username or password" even i dont click the button always is there and dissapearing after user enter true username and password.
if($count == 1) {
session_register("myusername");
session_register("mypassword");
session_start();
if(session_is_registered(myusername)){
echo "<a id='user_login_info'><br>Welcome <font color='#00FF00'>$user</font></a>";
echo "<a id='user_login_info'><br>Username and Password Accepted</a>";
}
} else {
echo "<a id='user_login_info'><br>Wrong Username or Password!</a>";
}
Thanks :)