COde for a Cc


Posted on 16th Feb 2014 07:03 pm by admin

I'm not receiving $ft as a Cc. Why is that??

$to = "$email";
$headers = "From:" .$tf."rn";
Did you know?Explore Trending and Topic pages for more stories like this.
$headers .= "Cc: $tfrn";
$subject = "SUBJECT";
$message = "bla bla bla...";
$message = "Name: " . $thename;

$sentOk = mail("$tf, $email",$subject,$message,$headers);
echo "sentOk=" . $sentOk;
No comments posted yet

Your Answer:

Login to answer
248 Like 16 Dislike
Previous forums Next forums
Other forums

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section.
The form is allre

Structure Question - One Table or One Table Per Record Set?
I have a web app (mySQL and PHP) which allows people to create an item with up to 200 records which

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

mysql_real_escape_string
Let me preface this that I am very much a PHP noob, but I have some SQL training (not necessarily My

mail() problem
Hi Guys,

I've set up a contact email form. It sends the information fine, but it sends it to

How would I protect......
I have a from, actually, a good amount of forms. How can I make it so you can't type the characters:

my login script page is not working on remote computers
hi my login is working on my computer, but when i tried 2 computers from 2 different locations, they

split values
I have values that are returned to me in this format:

name=>test,age=>49

Cursor statement failed with errors
Following statement failed with the errors.

cursor proj_cursor1 is (select projectID from

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash