If someone could help me on this I would be very grateful:
Basically what happens is once an order is added its POST variable is converted to a session variable:
<? foreach($_POST as $key => $val) { if($val != '') { $_SESSION[$key] = $val; } } ?>Then a foreach loop outputs the session variables:
foreach($_SESSION as $key => $val)
{ …etc. }
Any ideas on how to mail these session variables using the mail() function?