Changing to Comparison Operator
<p>I was told that the previous code wasn't using parameters even when employing a library that supports it. And that I was using  an assignment operator rather than a comparison. Also the true branch is redudant.</p>

<p>Previous Code:</p>

<pre><code>if ($profilepic = $row['profilepic']){
    $profilepic = $row['profilepic'];
}else{
    $profilepic = "DamjuNoImage";
}
</code></pre>

<p>Current Code:</p>

<pre><code>$profilepic = $row['profilepic'];
$noimage = "DamjuNoImage";

if ($profilepic != $row['profilepic']){
        echo $noimage;
    }
</code></pre>

<p>I wanted to double check to see if I fixed the code even though I already tested it.</p>
