Hiya

I have a login_screen.html which on submit is sent to login.php.
Login.php does all the checking of usernames and passwords. I am trying to to produce this logic:
//In login.php
if password and username correct {
go to main page
}
else
{
go back to login.screen.html
echo "Please try again";
echo "login Incorrect";


I cannot seem to automatically go back to login_screen.html with the error message displayed in the else statment in login.php.

Any suggestions?

Thanks

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://messenger.msn.co.uk



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to