PHP Code:
<?php

    
// Open the text file
    
$f fopen("textfile.txt""w");

    
// Write text
    
fwrite($f$_POST["name"]); 
    
//space
    
fwrite($f$_POST["email"]);

    
// Close the text file
    
fclose($f);

    
// Open file for reading, and read the line
    
$f fopen("textfile.txt""r");

    
// Read text
    
echo fgets($f); 
    
fclose($f);

    
?>
Hi I have two problems:

1) How can you close the php file and open another separate URL link after ?

2) Have it so that that it doesn't replace the previous text on the text file it just writes another bellow?

3) How do I get a space between the two "Write text's" look for:
PHP Code:
//space 
?