exit(), return make post data gone
<p>My code looks like this:</p>

<pre><code>if(!filter_var($Email, FILTER_VALIDATE_EMAIL))
{
    message("Invalid Mail!", "error"); return;

}
</code></pre>

<p><em>message is a function to pop-out an alert.</em> </p>

<p>However, the entire form will be "emptied" as soon as the error pops out (due to "return"). I'm kind of new, so how do I prevent that?</p>

<p>Regards</p>