Hi!

I'm using this write code:
PHP Code:
$nom $_GET["name"];
$file fopen("file.txt""w");
fwrite($file$nom);
fclose($file); 
But I need that the contents of file.txt destroy and write the new value, as given by $nom...any ideas???