hello everyone , I am beginner in PHP, I have a problem ,
I have a login page (login.php), where user can enter some necessary information ,after submiting ...it goes to another php page(submit.php) and do something there , ... however on that submit.php it perform some business logic validation .. if it finds some error there ... it should redirect to the login.php page with some error message ( may be more than one error messages).... and the error messages should be display in the top of the login.php page .
i don't want to set the error message in the query string in the time of redirection... since there may be a array of error message ..
please help me .... in this regards with some sample code