Hi,
got a php form, within it I've placed the following counter to be included in each mail:
// Getting current count
$fp = fopen ("/path/to/count.txt", "r");
$count = fgets($fp, 4096);
fclose($fp);
// Increment by one
$count++;
// Open log file in write mode
$fp = fopen ("/path/to/count.txt", "w");
fwrite ($fp, $count);
fclose($fp);
how do I include the $count in the html formatted mail:
$Body .= '
<html>
<body>';
etc...