Hi
I am very very very new to php and just learning so please forgive the “simplicity” of this question.
I have this code:
$name= $_POST [‘name’];
$data= “data.txt”;
$filehandler = fopen($data, “a+”);
fwrite($filehandler, “$name \n” );
fclose($filehandler);
which writes to a text file
$name is an email address
Now I want to be able to create a form that will delete an email address from the txt file.
Could someone please help.
Thanks