This is probably an easy question but I am not sure the proper syntax.
I am sending an email to my client - but my client also wants that person to receive the emails once they hit submit.
Currently its a POST php form and it works fine - but need to include the POST-email address that was entered into the form.
$from_email = $_POST['emailAddress'];
$to = 'owen@gmail.com';
AND I have mail($to, $subject, $message, $header..
So how do I rewrite the code:
$to = 'owenpiccirillo@gmail.com';
to have also send to the email submitted in the form? because this works.
$to = 'owen@gmail.com, whatever@aol.com';
but this doesnt work....
$to = 'owen@gmail.com' . $from_email;
Thanks in advance -O