How do I get the Form POST data before it's stored on table
I would like to create a project such as Login form where the user can send its data, then the form validate these data before storing them in some table and case there is some invalid data, on the same form display a message to the user, like a norm...