Please help me to discover and correct the error in the following script.
$sitename
$siteaddress","FROM:$adminaddress");
IF ($logging=="yes") {
}
NewSite="vmlog.txt";
// Nothing needs to be changed here
$fl=fopen(NewSite,"a+");
// sets the pipe delimiters
fwrite($fl,"$fname,$lname,$vemail,$comments\n");
fclose($fl);
Thanks for your help.