sundevil67
03-19-2009, 11:25 PM
I have installed a script called Dodosmail to handle my form processing. Everything works OK, but I would like to make two adjustments, and I am having a bit of difficulty.
On the confirmation page and on the email I receive, I would like to omit the email confirmation and verification code confirmation fields, as they are just repetitive.
The working form is here (http://www.adamfialkov.com/contact.php)
The PHP code is here (http://www.adamfialkov.com/common/dodosmail.phps)
The If statement that generates the information I need to modify is here:
if(in_array($actual_var, $reserved_vars))
echo "";
else {
if(is_array($$actual_var)) {
echo "<li>$actual_var: ";
foreach($$actual_var as $actual_val) {
echo "$actual_val ";
}
echo "</li>\n";
} else {
$actual_val = stripslashes($$actual_var);
echo "<li>$actual_var: $actual_val</li>\n";
}
}
I've tried to add my own IF statements to pick out the Email2 and VerificationCode2 fields, but I can't get it to work. Any advice would be appreciated!
On the confirmation page and on the email I receive, I would like to omit the email confirmation and verification code confirmation fields, as they are just repetitive.
The working form is here (http://www.adamfialkov.com/contact.php)
The PHP code is here (http://www.adamfialkov.com/common/dodosmail.phps)
The If statement that generates the information I need to modify is here:
if(in_array($actual_var, $reserved_vars))
echo "";
else {
if(is_array($$actual_var)) {
echo "<li>$actual_var: ";
foreach($$actual_var as $actual_val) {
echo "$actual_val ";
}
echo "</li>\n";
} else {
$actual_val = stripslashes($$actual_var);
echo "<li>$actual_var: $actual_val</li>\n";
}
}
I've tried to add my own IF statements to pick out the Email2 and VerificationCode2 fields, but I can't get it to work. Any advice would be appreciated!