hi guys, how to add an email address for this statement:

mail('myemail@email.com',"title",$text,$headers);

to add another email for this can put like this:

mail('myemail@email.com,anotheremail@email.com',"title",$text,$headers);


what's the correct statement for this? thanks in advance.:)

thanks, yes it helps :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.