How do I include .$email to the mail function.
this is my current code:
mail($to, $subject, “”, $headers);
I want do it like this;
mail(“me@myweb.com”.$email, $subject, “”, $headers);
Thanks
How do I include .$email to the mail function.
this is my current code:
mail($to, $subject, “”, $headers);
I want do it like this;
mail(“me@myweb.com”.$email, $subject, “”, $headers);
Thanks
All you need to do is simple separate the $email value with a comma like below.
mail("me@myweb.com, $email", $subject, "", $headers);