Quote Originally Posted by Austinwhite;287099[code
if($day = 'monday')[/code]
in this code too the if statement will be execute bez all you doing is telling the compiler that the value of $day variable is now 'monday' and not to check if $day is equal to 'monday'.
You explained it better than me