Hi all

FormMail newbie so please be gentle

Awesome script, BTW!

Would appreciate clarification of the use of $aCleanedValues

The following snippet is from fmhookprefinish.inc and works as expected
Code:
$IP=$_SERVER["REMOTE_ADDR"]; //grabs poster's IP

$sql="INSERT INTO motenquiries (Name, 
Company, 
Email, 
Maillist, 
IPAddress,
ddatetime, 
Enquiry)
VALUES
('$_POST[realname]',
'$_POST[organisation]',
'$_POST[email]',
'$_POST[mailinglist]',
'$IP',
NOW(),
'$_POST[mesg]')";
So to use $aCleanedValues, I assume syntax would be
Code:
$email=$_POST[email];
$email=$aCleanedValues;["email"];
If correct is it possible to nest the expressions as
Code:
$email = $aCleanedValues[$_POST[email]];
?

TIA

Chris