Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~112 People Reached
Favorite Forums
Favorite Tags
php x 1
Member Avatar for manoj30dec

hi I am using following code to validate username and password please can any body check where is the mistake... [code] $adminuser = $_POST['adminuser']; $adminpass=$_POST['adminpass']; if((!$adminuser=="") or (!$adminpass=="")){ echo "Please enter Username and Password"; } elseif((!$adminuser=="admin") or (!$adminpass=="manoj")){ echo "Invalid Username and Password"; } else{ "good"; } [/code]

Member Avatar for harshbavaliya
0
112