hi all i cant see my erron in the code i have followed the tutorial but i cant see it
i wont some help. here is my code.
$to = 'andi_138el@hotmail.com';
$subject = 'Contact from submitted';
$body = $contact_name."\n".$contact_text;
$headers = 'From: '.$contact_email;
if (mail($to,$subject, $body, $headers)){
echo 'Thanks for contacting us. We\'ll be in touch soon';
}else{
echo 'Sorry,an error occurred.Please try again later.';
}
andyy121 -9 Junior Poster
urtrivedi 276 Nearly a Posting Virtuoso
andyy121 -9 Junior Poster
Squidge 101 Newbie Poster
andyy121 -9 Junior Poster
tscina 0 Light Poster
Squidge 101 Newbie Poster
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.