php code for forms
the form processor can be in the form
it can post to itself, on error output html even AT the precise point in the form that the invalid information is
<?php //form processing
?>
<!doctype><html><head><body><form action='<?php echo $_SERVER['php_self']; ?>' method='post'>
<input value='<?php echo $_post['$fieldname']; ?>' name='fieldname'><?php if isset($fieldnameerror) {echo "html error correct instructions';} ?>
crappy code but my mind works best with examples
Reputation Points: 561
Solved Threads: 365
Posting Maven
Offline 2,964 posts
since Jan 2009