Hi everyone,
I am trying to perfect a login script that allows for both username and email to be used as one input, basically this is what I want the code to do but it isn’t working!
[php]
if($postusername==$db_username_friendly or $postusername==$db_user_email&&$postpassword==$db_user_password)
[/php]
Any help/suggestions greatly appreciated!
Thanks,
James ;D