manalnor Posted August 6, 2010 Share Posted August 6, 2010 Hello dear friends, if i've if ($_POST['pass'] && $_POST['pass']==$ama[code1]) this mean if pass = $ama i want to rewrite it be if pass = $ama[code1] or $ama[code2] i've tried this but it is wrong [code=php:0]if ($_POST['pass'] && $_POST['pass']==$ama[code1]||$ama[code2]) so can someone rewrite correct. thanks[/code] Quote Link to comment Share on other sites More sharing options...
hcdarkmage Posted August 6, 2010 Share Posted August 6, 2010 if ($_POST['pass'] && ($_POST['pass']==$ama[code1]||$_POST['pass']==$ama[code2])) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.