I have read somewhere a long time ago that I could control how my php form and it's assets are dished up from the server by using somthing similar to the following;
<?php if ($_SERVER["REQUEST_METHOD"] == "POST") {?> <div id="err"><?php echo $fnameErr, "<br/>", $lnameErr, "<br/>", $titleErr, "<br/>", $emailErr; ?></div> <?php } ?>
More specifically I rememeber reading about page refreshing; in the sense that a page refresh will return a GET method rather than a post method. I'm not all that versed with php and I'm trying to understand the better practices for valdation and multiple form entry I.e. multiple submits. Is what I remember above true or is there a more practicle answer to my issue?
As highlighted by Pigeon the topic;
POST / REDIRECT / GET
I have since found a similar question on Stack that hover around the same topic here;