window.location.replace(`../success-pages/loginS.html`) '; } else { echo error('The User or the Password are wrong. Please try again'); echo backToPreviusPage(4, '../login.html'); } } else { echo error('The password has more characters than allowed!'); echo backToPreviusPage(3, '../login.html'); } } else { echo error('The user has more characters than allowed!'); echo backToPreviusPage(3, '../login.html'); } } else { echo error('Some of the fields were not filled. Try again please'); echo backToPreviusPage(3, '../login.html'); } } else { echo error('There was an error sending the form'); echo backToPreviusPage(3, '../login.html'); } ?> ERROR