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
hi, if you want to send email to more than one person use 'CC' in headers. CODE : <?php $to = "me@myweb.com"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: webmaster@myweb.com" . "\r\n" . "CC: somebodyelse@example.com"; mail($to,$subject,$txt,$headers); ?> If you have any query let me know. Thanks,