<?php
include "header.php";
?>

<div id="tabs4">
  <ul>
                                <!-- CSS Tabs -->
<li><a href="aboutus.php"><span>Overview</span></a></li>
<li><a href="network.php"><span>Our Network</span></a></li>
<li id="current"><a href="contactus.php"><span>Contact Us</span></a></li>
                        </ul>
                </div>
<td valign="top" style="padding-right:10">
<div align="center">
        <table border="0" width="100%" cellspacing="0" cellpadding="0" class="border">
                <tr>
                        <td><?php
// Contact subject
$subject ="$subject";
// Details
$message="$detail";

// Mail of sender
$mail_from="$customer_mail";
// From
$header="from: $name <$mail_from>";

// Enter your email address
$to ='support@mygoto.com';

$send_contact=mail($to,$subject,$message,$header);

// Check, if message sent to your email
// display message "We've recived your information"
if($send_contact){
echo "We've recived your contact information";
}
else {
echo "ERROR";
}
?></td>
                </tr>
        </table>
</div>
<?php
include "footer.php";
?>