PHP IF statement not working

asked Jan 9, 2013 in General by Susan3 (880 points)
Hi all,
I am using PHP 5.4 and every time I use the IF statement, it just doesn’t work right.  I don’t get any errors but it is like it’s not there at all. Does anyone know what could be causing this?

1 Answer

0 like 0 dislike
answered Jan 9, 2013 by SmartHost (9,060 points)
Make sure that  in your comparison you are using ‘==’ and not ‘=’