Everything worked fine until today. Now simple "if" statements dont work correctly. This is a sample....
<?php
$firstvariable=0;
$secondvariable=0;
if ($secondvariable=1){
$firstvariable=1;
}
echo $firstvariable;
echo $secondvariable;
?>
Clearly both variables should be echoed as "0" but they both echo as "1".
All of my if statements are coming up as true no matter what they test for.