NYCPHP Meetup

NYPHP.org

[nycphp-talk] TRUE/FALSE and $_SESSION variables

Michael Southwell michael.southwell at nyphp.com
Wed Jul 11 23:14:42 EDT 2007


At 10:50 PM 7/11/2007, you wrote:
>This tiny script:

Well, that was a perfect example of bad question asking, which 
solicited answers to things I wasn't trying to ask ;-( -- sorry, 
guys, but thanks anyway. So let me try again:

$_SESSION['ineligibleFlag'] = TRUE;
if ( $_SESSION['ineligibleFlag'] === TRUE ) echo 'not';

'not' is not echoed.  Why not?

Michael Southwell, Vice President for Education
New York PHP
http://www.nyphp.com/training - In-depth PHP Training Courses





More information about the talk mailing list