I've done many different searches looking for an answer to my issue. Everything is working fine except the redirect. From what I've read it should work fine, but it never redirects. Here is my code:
<?php
// Variables
$from = $_REQUEST['FieldData0'];
$email = $_REQUEST['FieldData1'];
$phone = $_REQUEST['FieldData2'];
$company = $_REQUEST['FieldData3'];
// User information
$content = "Name: $from\r\n";
$content = "$content Email Address: $email\r\n";
$content = "$content Phone Number: $phone\r\n";
$content = "$content Company: $company\r\n";
// Wrap content to abide by php rules
$content = wordwrap($content, 70);
// Send email
mail('myemail@hotmail.com', 'Someone Sent You Something!!!', $content);
// Redirect user to thank you page ************ NOT WORKING ************
header('Location: http://www.yahoo.com');
?>