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

hi..plz dont repeat that same thread..
last 2 threads related to urs...i already send some info regarding this...first try to do that...or think is there any other way? try to do by using sessions...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.