PHP if statement ELSE not working
<p>I am having an odd problem. This if statement is running as if the condition is being met.. It is not being met. I want the else statement to get executed but it won't. What am I doing wrong?</p>

<pre><code>&lt;?php

$count=2;

if ($count=1)
{
echo "hello";
}
else
{
echo "goodbye";
}

?&gt;
</code></pre>
