-1
I am making a login system and I want the user to try to log in and make the login wrong, appear a <div>saying that the information is wrong, however, if I do this by giving a echo "<div> Informações erradas </div>", As soon as the user refreshes the page, they will be asked to resubmit the form. How do I avoid this and keep my div? I’ve tried using the header("Location: login.php"), however, if I so mine <div> Informações erradas </div> will be deleted from the page. How I keep it?
Speak up, Douglas! Help colleagues who will help you by posting the full code (only related parts). edit your question to do this.
– LipESprY