Phil Curry wrote:
how can this be? This is not the first time I've run into a situation like this. What am I missing?

line 102    echo  ($userValues['afterDark']);             // outputs 1

line 103    if ( $userValues['afterDark'] == 0 ) {        // passes

Add a line at 102.5...

var_dump($userValues['afterDark']);

What type is that variable?

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to