[eluser]Rey Philip Regis[/eluser]
Hi guys,
Just want to know how to display errors on the view. Example I have a login application then the user inputted a wrong username and a password. I want the program to go back to the login page and then display at the bottom or top that he/she inputted wrong credentials.. How do you do that in the proper way? Cause what I do is, if he inputted a wrong password and username, I will create a session and put the error message in that session and display the session in the login page. Any other good ideas?
Any suggestions are appreciated thanks in advance.....