The following code does a good job of placing the $stringData
into the $log_file
But it replaces any existing data that's already in the $log_file
How should I write this so that it will add the $stringData
to the existing content instead of replacing it?
Thanks in advance for the help,
$Today = date("F m, Y",time());
$log_file = "../directory_1/VisitorLog";
$fh = fopen($log_file, 'w') or die("can't open file");
$stringData = "
E-mail: $email \n";