simple question, I have a page that checks if a session is started and if so, it checks the database for two main things, now if these are both 'YES' all I want is it to redirect to main page but it is not working? Any ideas? Its a PHP script.
Code is :
if (($sms_verified =='YEP') AND ($email_verified =='YES')) {
header("Location: index.php");
}