So I finally got my CAPTCHA to implement just nicely. What I'm wondering is...is there a way to produce an error message on the same page without wiping the fields that the user just filled in?
I've tried:
<?php
$oldvalu = '';
if(isset($_POST['name'])) {
$oldvalu == $_POST['name'];
}
echo"<input name=\"name\" type=\"text\" value=\"$oldvalu\" class=\"formstyles\" />";
?>
and
<input type='text' name='email' class="formstyles" value="{$_POST['email']}" />
Both to no avail...