It ain't pretty! But if it will just work, it doesn't have to be pretty.
see my comments here:
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10261320
and please, next time dont double post it, just reply to this thread with the new code
Parse error: parse error in ...www/html/testform_processor.php on line 40 That is the close html tag. What is wrong? The line before is </body>. So these 2 lines can't be wrong, can they?
try changing the following also:
<form method="post" action= "<?php echo $PHP_SELF; ?>">
to
<form method="post" action= "<?php echo $_SERVER['PHP_SELF']; ?>">
add:
<?
}
?>
to then end of it.. to close the else statement