New course! Every coder should learn Generative AI!
Try a free lesson0
How to stop form submit in php
PHP if condition always false in refresh the page
1 Answer
0
You could send the form through Ajax. This way you can control the response with JS avoiding the page reload