Code:
<html dir="ltr">
    <head>
        <title></title>
        <?php
$name = $_POST['name'];
$email .= $_POST['email'];

$count = $email."/n".$name."/n";

$file = fopen("YOURDATAFILE.txt", "a");
fputs($file, "$name $email");
fclose($file);
?>
    </head>
    <body>
    </body>
</html>
Nothing working