A registration form write the data to a txt file using this code:

```
<?
if( isset( $_GET['list'] ) AND $_GET['list'] != '' ) {
$listId = $_GET['list'];
}
$email = $_POST['widget-subscribe-form-email'];
$fname = isset( $_POST['widget-subscribe-form-fname'] ) ? $_POST['widget-subscribe-form-fname'] : '';
$lname = isset( $_POST['widget-subscribe-form-lname'] ) ? $_POST['widget-subscribe-form-lname'] : '';

$fp = fopen("newsletter_subscriptions.txt","w+");

fputs($fp, "email : ");
fputs($fp, $_POST['widget-subscribe-form-email']);

fputs($fp, "\nPrénom : ");
fputs($fp, $_POST['widget-subscribe-form-fname']);

fputs($fp, "\nNom : ");
fputs($fp, $_POST['widget-subscribe-form-lname']);

fclose($fp);

?> 

```

My problem is that each new record erase the previous one. I want to keep all records in the txt file.
How to do it ?