This php I wrote has a syntax error on line 9 as reported by dreamweaver, but i cannot figure it out. can someone help me please? The intent of the script is to take an md5 file containing email addresses to compare against our data and exclude those lines from the output file.
<?php
$suppressions = file_get_contents("suppressions.txt");
$emails = file_get_contents("emails.txt");
$email_check = explode($emails,"
");
$suppression_check = explode($suppressions,"
");
foreach($email_check as $email)
{
$email_md5 = md5($email)
foreach($suppression_check as $suppression)
{
if($email_md5 == $suppression)
{
file_put_contents("emails_suppressed.txt",$email);
}
}
}
?>