I must be missing something obvious. Looking to have an if statement where it will only echo the image if BOTH conditions are met. Currently, it is echoing when only one is met
if ($row['PROT_A']="Y" and $row['CFHL_A']="$G2")
{
echo "<img src='/fantasy/images/current.png' width='12' height='12'>";
}